Explorar el Código

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

Nick Mathewson hace 13 años
padre
commit
38642a9369
Se han modificado 1 ficheros con 1 adiciones y 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 */