commit 3d988b65198163de6b0c9e4de2bfc964dcfe3e82 Author: Nick Mathewson nickm@torproject.org Date: Sat May 28 00:34:02 2011 -0400
evutil_socket_geterror() takes an argument --- src/network.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/network.c b/src/network.c index f1c4584..0f26648 100644 --- a/src/network.c +++ b/src/network.c @@ -368,7 +368,7 @@ output_event_cb(struct bufferevent *bev, short what, void *arg) bufferevent_enable(conn->input, EV_WRITE); bufferevent_disable(conn->input, EV_READ); socks_send_reply(conn->socks_state, bufferevent_get_output(conn->input), - evutil_socket_geterror()); + evutil_socket_geterror(bufferevent_getfd(bev))); bufferevent_setcb(conn->input, NULL, close_conn_on_flush, output_event_cb, conn); return;
tor-commits@lists.torproject.org