]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Inadvertent assignment in ? operator
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:47:39 +0000 (19:47 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:47:39 +0000 (19:47 -0500)
commit907ca8e4d50b03357654831590fa90a01f63d042
tree001136763fbe6df009767187ecfc5884e971a359
parenta1198921f21c18659174e0a534c27e0f6d51ec71
lib: Inadvertent assignment in ? operator

In the case where we are using select as
the operator *and* we call
funcname_thread_add_read_write *and* the
fd is already set, we would overwrite
the read/write direction to always be READ.

Clearly this was a bad idea.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/thread.c