diff options
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index c0957161d8..cbdfa44581 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -1157,11 +1157,9 @@ connection_or_tls_renegotiated_cb(tor_tls_t *tls, void *_conn) * tor_tls_got_client_hello() when the server receives excess * renegotiation attempts; probably indicating a DoS. */ static void -connection_or_close_connection_cb(evutil_socket_t fd, short what, void *_conn) +connection_or_close_connection_cb(void *_conn) { or_connection_t *conn = _conn; - (void) what; - (void) fd; connection_stop_reading(TO_CONN(conn)); connection_mark_for_close(TO_CONN(conn)); |