commit | 1ad00b07a10eb8b3f5c94348488735fb08f28717 | [log] [tgz] |
---|---|---|
author | Donald Sharp <sharpd@cumulusnetworks.com> | Wed Jul 13 11:02:38 2016 -0400 |
committer | Paul Jakma <paul.jakma@hpe.com> | Tue Sep 13 10:36:37 2016 +0100 |
tree | a17cbf06ebd0dc639ca46a63de7727ac7c5c56ee | |
parent | e0b8324deb490c52834775d2b805cbb57e003ce0 [diff] |
lib: Fix regression in thread.c * Fix regression introduced with merging of 'lib: Refactor read/write functionality'
diff --git a/lib/thread.c b/lib/thread.c index 6608bb1..41c362b 100644 --- a/lib/thread.c +++ b/lib/thread.c
@@ -790,7 +790,7 @@ else fdset = &m->writefd; - if (FD_ISSET (fd, &m->readfd)) + if (FD_ISSET (fd, fdset)) { zlog (NULL, LOG_WARNING, "There is already %s fd [%d]", (dir = THREAD_READ) ? "read" : "write", fd);