summaryrefslogtreecommitdiff
path: root/lib/inet_ntop.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-21 19:03:20 +0000
committerYang Tse <yangsita@gmail.com>2007-02-21 19:03:20 +0000
commit3a634a273a7bff3d219883f572db786e2c1004b1 (patch)
treea0f1f70c6de10f38c29e3f5f468bed50db759ec1 /lib/inet_ntop.c
parent06d1b029f63b9b03dfa3b9bfe34ba1baeb67df29 (diff)
downloadcurl-3a634a273a7bff3d219883f572db786e2c1004b1.tar.gz
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
Diffstat (limited to 'lib/inet_ntop.c')
-rw-r--r--lib/inet_ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c
index a0b8ba46b..8ff428192 100644
--- a/lib/inet_ntop.c
+++ b/lib/inet_ntop.c
@@ -67,7 +67,7 @@ static char *inet_ntop4 (const unsigned char *src, char *dst, size_t size)
{
#if defined(HAVE_INET_NTOA_R_2_ARGS)
const char *ptr;
- curlassert(size >= 16);
+ DEBUGASSERT(size >= 16);
ptr = inet_ntoa_r(*(struct in_addr*)src, dst);
return (char *)memmove(dst, ptr, strlen(ptr)+1);