From: Nick Mathewson Date: Thu, 24 Feb 2005 17:08:27 +0000 (+0000) Subject: Insert missing ! in assert_connection_ok; test was accidentally reversed in revision... X-Git-Tag: tor-0.1.0.1-rc~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d7ae6fe8ee88b9261f7d37dfba8c3887ba0932;p=thirdparty%2Ftor.git Insert missing ! in assert_connection_ok; test was accidentally reversed in revision 1.329 yesterday. Should fix bug 102 svn:r3685 --- diff --git a/src/or/connection.c b/src/or/connection.c index 5879e2aa5e..e0a5b100f7 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1576,7 +1576,7 @@ void assert_connection_ok(connection_t *conn, time_t now) tor_assert(conn->tls); } - if (CONN_IS_EDGE(conn)) { + if (! CONN_IS_EDGE(conn)) { tor_assert(!conn->stream_id); tor_assert(!conn->next_stream); tor_assert(!conn->cpath_layer);