"bta/git@repo.buzztime.com:halo/system_bt.git" did not exist on "1a3844f933bd63c8a381371dabfb35c6a0249e3e"
Commit 9497dab7 authored by Roger A. Light's avatar Roger A. Light
Browse files
parents fd6a6cac af96c0b8
...@@ -449,7 +449,7 @@ static void loop_handle_reads_writes(struct mosquitto_db *db, struct pollfd *pol ...@@ -449,7 +449,7 @@ static void loop_handle_reads_writes(struct mosquitto_db *db, struct pollfd *pol
} }
assert(pollfds[context->pollfd_index].fd == context->sock); assert(pollfds[context->pollfd_index].fd == context->sock);
if(pollfds[context->pollfd_index].revents & (POLLERR | POLLNVAL)){ if(pollfds[context->pollfd_index].revents & (POLLERR | POLLNVAL | POLLHUP)){
do_disconnect(db, context); do_disconnect(db, context);
continue; continue;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment