[tor-commits] [tor/master] Downgrade tor_assert(0) to tor_fragile_assert() in windows stub create_unix_sockaddr

nickm at torproject.org nickm at torproject.org
Tue Jun 5 14:40:27 UTC 2012


commit 38642a9369faa3e511c32a59a52536fd396de45a
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Jun 5 10:36:34 2012 -0400

    Downgrade tor_assert(0) to tor_fragile_assert() in windows stub create_unix_sockaddr
---
 src/or/connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/connection.c b/src/or/connection.c
index 35c79b9..34e1a5c 100644
--- a/src/or/connection.c
+++ b/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 */



More information about the tor-commits mailing list