[or-cvs] fix a ! that got left out

arma at seul.org arma at seul.org
Sun Dec 18 22:34:27 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	directory.c 
Log Message:
fix a ! that got left out


Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.329
retrieving revision 1.330
diff -u -p -d -r1.329 -r1.330
--- directory.c	15 Dec 2005 21:26:39 -0000	1.329
+++ directory.c	18 Dec 2005 22:34:24 -0000	1.330
@@ -1042,7 +1042,7 @@ connection_dir_client_reached_eof(connec
     }
     if (status_code != 200) {
       int dir_okay = status_code == 404 ||
-        (status_code == 400 && strcmp(reason, "Servers unavailable."));
+        (status_code == 400 && !strcmp(reason, "Servers unavailable."));
       /* 404 means that it didn't have them; no big deal.
        * Older (pre-0.1.1.8) servers said 400 Servers unavailable instead. */
       log_fn(dir_okay ? LOG_INFO : LOG_WARN, LD_DIR,



More information about the tor-commits mailing list