[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master 3/6] Nick points out: tor_assert(!conn->_base.purpose == DIR_PURPOSE_FETCH_EXTRAINFO) != tor_assert(conn->_base.purpose != DIR_PURPOSE_FETCH_EXTRAINFO) !!



Author: Robert Hogan <robert@xxxxxxxxxxxxxxx>
Date: Thu, 2 Sep 2010 22:17:43 +0100
Subject: Nick points out:
Commit: 5799cdd9d326740d79ec8a30b3ace90d0bda346e

---
 src/or/directory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 6364136..de14225 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));
-- 
1.7.1