diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-13 13:45:35 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-13 13:45:35 -0500 |
commit | 17c568b95cddeab7bfd4bcd388c1e5735bef4ed1 (patch) | |
tree | 2a0b93b5c9be24665438baa1249affb99e76b48f /src/or/connection.c | |
parent | 8d1fa0c87dd84f7f2ce7f9429140f1282330fce8 (diff) | |
download | tor-17c568b95cddeab7bfd4bcd388c1e5735bef4ed1.tar.gz tor-17c568b95cddeab7bfd4bcd388c1e5735bef4ed1.zip |
Fix new unused variable warning in connection_listener_new
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index a3c7019812..36277d3821 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; } |