]> granicus.if.org Git - libevent/commit
Small cleanups on freebsd-connect-refused patch.
authorNick Mathewson <nickm@torproject.org>
Sun, 28 Feb 2010 03:27:13 +0000 (22:27 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 28 Feb 2010 03:27:13 +0000 (22:27 -0500)
commit57b72488233f749cd402d6133b5e4b1fb83878d3
tree2c74742801c2176e1da1fb1c4b1bdb3c5dd3d67c
parent7bc48bfd3ac61aa4ff118cacb44145c6ecda366e
Small cleanups on freebsd-connect-refused patch.

There should be no need to call be_socket_enable: that does an
event_add().  What we really want to do is event_active(), to make
sure that the writecb is executed.

Also, there was one "} if () {" that was missing an else.

I've noted that the return value for evutil_socket_connect() is
getting screwy, but since that isn't an exported function, we can fix
it whenever.
bufferevent_sock.c
evutil.c