]> granicus.if.org Git - libevent/commit
Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking().
authorJardel Weyrich <jweyrich@gmail.com>
Tue, 29 Dec 2009 18:19:24 +0000 (16:19 -0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 29 Dec 2009 20:11:52 +0000 (15:11 -0500)
commit4df7dbcbdfc9bf169f70b3e74e0a3ec824065bf3
treeee8bdd12cc2fe39a0c0c54bc27fa2299faba7c16
parent5a43df82b89f5f396d845ced49b9f3f65dee52ab
Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking().

Apparently, a successful return value on F_SETFL is "anything but
-1".
evutil.c