aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-07-12 20:41:20 +0000
committerRoger Dingledine <arma@torproject.org>2004-07-12 20:41:20 +0000
commita3aaff34b70d583055df6e71b655f27ddd74e3a4 (patch)
tree457ab5436904793819cdcb34f52573c2a498c52c
parent2325050b1b5798d5545e537f704061f90c5db8e6 (diff)
downloadtor-a3aaff34b70d583055df6e71b655f27ddd74e3a4.tar
tor-a3aaff34b70d583055df6e71b655f27ddd74e3a4.tar.gz
why does gcc not warn me about this at all? that's evil.
svn:r2032
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 042f3851d..2168bf029 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -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);
}