diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 2 | ||||
-rw-r--r-- | src/or/connection.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index cdddd3c4fc..daa3dd9206 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3718,7 +3718,7 @@ options_init_from_string(const char *cf, config_line_t *cl; int retval; int err = -1; - assert(msg); + tor_assert(msg); oldoptions = global_options; /* get_options unfortunately asserts if this is the first time we run*/ diff --git a/src/or/connection.c b/src/or/connection.c index 9e559530da..84cd26f2c0 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -734,7 +734,7 @@ create_unix_sockaddr(const char *listenaddress, char **readable_address) (void)readable_address; log_fn(LOG_ERR, LD_BUG, "Unix domain sockets not supported, yet we tried to create one."); - assert(0); + tor_assert(0); }; #endif /* HAVE_SYS_UN_H */ |