[tor-commits] [tor/master] Fix new unused variable warning in connection_listener_new
nickm at torproject.org
nickm at torproject.org
Tue Jan 13 18:45:40 UTC 2015
commit 17c568b95cddeab7bfd4bcd388c1e5735bef4ed1
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Jan 13 13:45:35 2015 -0500
Fix new unused variable warning in connection_listener_new
---
src/or/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/connection.c b/src/or/connection.c
index a3c7019..36277d3 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1075,7 +1075,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
static int global_next_session_group = SESSION_GROUP_FIRST_AUTO;
tor_addr_t addr;
- if (get_n_open_sockets() >= get_options()->ConnLimit_-1) {
+ if (get_n_open_sockets() >= options->ConnLimit_-1) {
warn_too_many_conns();
return NULL;
}
More information about the tor-commits
mailing list