aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRobert Hogan <robert@roberthogan.net>2010-09-02 22:17:43 +0100
committerRobert Hogan <robert@roberthogan.net>2010-09-02 22:17:43 +0100
commit5799cdd9d326740d79ec8a30b3ace90d0bda346e (patch)
tree40310ebc28d7b4ff22a4f4ba12dce85c3dab3fff /src/or
parent2086588efe9c7b378e3813f427d72eb2d135d661 (diff)
downloadtor-5799cdd9d326740d79ec8a30b3ace90d0bda346e.tar
tor-5799cdd9d326740d79ec8a30b3ace90d0bda346e.tar.gz
Nick points out:
tor_assert(!conn->_base.purpose == DIR_PURPOSE_FETCH_EXTRAINFO) != tor_assert(conn->_base.purpose != DIR_PURPOSE_FETCH_EXTRAINFO) !!
Diffstat (limited to 'src/or')
-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 636413637..de1422565 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -704,7 +704,7 @@ connection_dir_bridge_routerdesc_failed(dir_connection_t *conn)
+ strlen("fp/"),
which, NULL, 0);
- tor_assert(!conn->_base.purpose == DIR_PURPOSE_FETCH_EXTRAINFO);
+ tor_assert(conn->_base.purpose != DIR_PURPOSE_FETCH_EXTRAINFO);
if (smartlist_len(which)) {
connection_dir_retry_bridges(which);
SMARTLIST_FOREACH(which, char *, cp, tor_free(cp));