mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix new unused variable warning in connection_listener_new
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user