mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix new unused variable warning in connection_listener_new
This commit is contained in:
parent
8d1fa0c87d
commit
17c568b95c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user