]> granicus.if.org Git - libevent/commit
Improved error handling in evconnlistener_new_async(). Also keeping the fd open becau...
authorJardel Weyrich <jweyrich@gmail.com>
Wed, 30 Dec 2009 21:22:23 +0000 (19:22 -0200)
committerNick Mathewson <nickm@torproject.org>
Sat, 9 Jan 2010 04:28:23 +0000 (23:28 -0500)
commitfec66f96850b77f77f720d3983ae98fc3594f282
tree133dc8909476600b40fd274af12c1446ebcb5228
parent4367a33a205c64df92e604aa3c4b01ac40aa821d
Improved error handling in evconnlistener_new_async(). Also keeping the fd open because it is not opened by this function, so the caller is responsible for closing it. Additionally, since evconnlistener_new_bind() creates a socket and passes it to the function above, it required error checking to close the same socket.
listener.c