]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
why does gcc not warn me about this at all? that's evil.
authorRoger Dingledine <arma@torproject.org>
Mon, 12 Jul 2004 20:41:20 +0000 (20:41 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 12 Jul 2004 20:41:20 +0000 (20:41 +0000)
svn:r2032

src/or/directory.c

index 042f3851d40145d04e5e335fa4cd2f12fd397f17..2168bf02988eab682d90dde754009f976e06717a 100644 (file)
@@ -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);
         }