mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
fix a ! that got left out
svn:r5612
This commit is contained in:
parent
e9a328efb2
commit
a2186b9999
@ -1042,7 +1042,7 @@ connection_dir_client_reached_eof(connection_t *conn)
|
||||
}
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user