[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix a ! that got left out
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,