소스 검색

Insert missing ! in assert_connection_ok; test was accidentally reversed in revision 1.329 yesterday. Should fix bug 102

svn:r3685
Nick Mathewson 20 년 전
부모
커밋
24d7ae6fe8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/connection.c

+ 1 - 1
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);