Fix new unused variable warning in connection_listener_new

This commit is contained in:
Nick Mathewson 2015-01-13 13:45:35 -05:00
parent 8d1fa0c87d
commit 17c568b95c

View File

@ -1075,7 +1075,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
static int global_next_session_group = SESSION_GROUP_FIRST_AUTO; static int global_next_session_group = SESSION_GROUP_FIRST_AUTO;
tor_addr_t addr; 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(); warn_too_many_conns();
return NULL; return NULL;
} }