Przeglądaj źródła

Nick points out:
tor_assert(!conn->_base.purpose == DIR_PURPOSE_FETCH_EXTRAINFO)
!=
tor_assert(conn->_base.purpose != DIR_PURPOSE_FETCH_EXTRAINFO)
!!

Robert Hogan 15 lat temu
rodzic
commit
5799cdd9d3
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/or/directory.c

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