summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-20 17:48:37 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-20 17:48:37 +0000
commit5dd9d16b94e23ed6223f7583b8c7143cfed62d59 (patch)
treecaccfd10cbb52debc1434327aa16f3e8fb8cbf79 /src
parentb30c1637bd3a4c420ba75bb6ace45ba704e1f286 (diff)
downloadtor-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')
-rw-r--r--src/or/eventdns.c2
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;