]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Nick points out:
authorRobert Hogan <robert@roberthogan.net>
Thu, 2 Sep 2010 21:17:43 +0000 (22:17 +0100)
committerRobert Hogan <robert@roberthogan.net>
Thu, 2 Sep 2010 21:17:43 +0000 (22:17 +0100)
tor_assert(!conn->_base.purpose == DIR_PURPOSE_FETCH_EXTRAINFO)
!=
tor_assert(conn->_base.purpose != DIR_PURPOSE_FETCH_EXTRAINFO)
!!

src/or/directory.c

index 6364136372c0badb9b4097f5de73a560b03fd5a2..de1422565a3742276d34de513e77cb56f2b38e28 100644 (file)
@@ -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));