[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Downgrade tor_assert(0) to tor_fragile_assert() in windows stub create_unix_sockaddr
commit 38642a9369faa3e511c32a59a52536fd396de45a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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 */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits