summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2010-09-12 00:20:00 -0400
committerRoger Dingledine <arma@torproject.org>2010-09-12 00:20:00 -0400
commitb4942e34352dbe5dc3f3b4e0da22f402a4452ca9 (patch)
treefcb4ab1c2c57cb26b2fda2747557c001e0447e2c /src/or/directory.c
parent608d1614b92045ffbaf44b6d4e93eae4036e7bac (diff)
downloadtor-b4942e34352dbe5dc3f3b4e0da22f402a4452ca9.tar.gz
tor-b4942e34352dbe5dc3f3b4e0da22f402a4452ca9.zip
fix regression introduced by 1a65bdd2
noticed while reviewing hoganrobert/bug1138
Diffstat (limited to 'src/or/directory.c')
-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 a3e575ac97..e9fcb5ee17 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -582,7 +582,7 @@ connection_dir_request_failed(dir_connection_t *conn)
if (directory_conn_is_self_reachability_test(conn)) {
return; /* this was a test fetch. don't retry. */
}
- if (entry_list_is_constrained(get_options()))
+ if (!entry_list_is_constrained(get_options()))
router_set_status(conn->identity_digest, 0); /* don't try him again */
if (conn->_base.purpose == DIR_PURPOSE_FETCH_V2_NETWORKSTATUS) {
log_info(LD_DIR, "Giving up on directory server at '%s'; retrying",