Explorar o código

Downgrade tor_assert(0) to tor_fragile_assert() in windows stub create_unix_sockaddr

Nick Mathewson %!s(int64=14) %!d(string=hai) anos
pai
achega
38642a9369
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/connection.c

+ 1 - 1
src/or/connection.c

@@ -778,7 +778,7 @@ create_unix_sockaddr(const char *listenaddress, char **readable_address,
   log_fn(LOG_ERR, LD_BUG,
          "Unix domain sockets not supported, yet we tried to create one.");
   *len_out = 0;
-  tor_assert(0);
+  tor_fragile_assert();
   return NULL;
 }
 #endif /* HAVE_SYS_UN_H */