mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
why does gcc not warn me about this at all? that's evil.
svn:r2032
This commit is contained in:
parent
2325050b1b
commit
a3aaff34b7
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ directory_initiate_command(routerinfo_t *router, uint8_t purpose,
|
|||
switch(connection_connect(conn, conn->address, conn->addr, conn->port)) {
|
||||
case -1:
|
||||
router_mark_as_down(conn->identity_digest); /* don't try him again */
|
||||
if(purpose == DIR_PURPOSE_FETCH_DIR && !all_directory_servers_down) {
|
||||
if(purpose == DIR_PURPOSE_FETCH_DIR && !all_directory_servers_down()) {
|
||||
log_fn(LOG_INFO,"Giving up on dirserver %s; trying another.", conn->nickname);
|
||||
directory_get_from_dirserver(purpose, payload, payload_len);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue