]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Unbreak the build
authorRobert Ransom <rransom.8774@gmail.com>
Wed, 1 Jun 2011 16:39:27 +0000 (09:39 -0700)
committerNick Mathewson <nickm@torproject.org>
Wed, 1 Jun 2011 17:07:26 +0000 (13:07 -0400)
src/or/main.c

index 7d9a85a0250ae23e52abc44398c7b2a05f61eb3b..5b38edb86eb85278ede2cdd9959ea7c9ad3949ad 100644 (file)
@@ -225,7 +225,7 @@ connection_add_impl(connection_t *conn, int is_connecting)
       connection_configure_bufferevent_callbacks(conn);
     } else if (conn->linked && conn->linked_conn &&
                connection_type_uses_bufferevent(conn->linked_conn)) {
-      tor_assert(!(SOCKET_OK(conn->s));
+      tor_assert(!(SOCKET_OK(conn->s)));
       if (!conn->bufev) {
         struct bufferevent *pair[2] = { NULL, NULL };
         if (bufferevent_pair_new(tor_libevent_get_base(),