diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-20 17:48:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-20 17:48:37 +0000 |
commit | 5dd9d16b94e23ed6223f7583b8c7143cfed62d59 (patch) | |
tree | caccfd10cbb52debc1434327aa16f3e8fb8cbf79 /src/or/eventdns.c | |
parent | b30c1637bd3a4c420ba75bb6ace45ba704e1f286 (diff) | |
download | tor-5dd9d16b94e23ed6223f7583b8c7143cfed62d59.tar.gz tor-5dd9d16b94e23ed6223f7583b8c7143cfed62d59.zip |
r18263@catbus: nickm | 2008-02-20 12:45:15 -0500
Oops. not supposed to use tor_assert() in eventdns.c
svn:r13622
Diffstat (limited to 'src/or/eventdns.c')
-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; |