diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/eventdns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 87aaa2d57e..239bf9f801 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2186,7 +2186,7 @@ evdns_nameserver_ip_add(const char *ip_as_string) { if ((cp-ip_as_string) >= (int)sizeof(buf)) { return 4; } - tor_assert(cp >= ip_as_string); + assert(cp >= ip_as_string); memcpy(buf, ip_as_string, cp-ip_as_string); buf[cp-ip_as_string] = '\0'; cp = buf; |