aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.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/hostip.c
parent06d1b029f63b9b03dfa3b9bfe34ba1baeb67df29 (diff)
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index fd555ef9d..b27475188 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -512,7 +512,7 @@ int Curl_resolv(struct connectdata *conn,
*/
void Curl_resolv_unlock(struct SessionHandle *data, struct Curl_dns_entry *dns)
{
- curlassert(dns && (dns->inuse>0));
+ DEBUGASSERT(dns && (dns->inuse>0));
if(data->share)
Curl_share_lock(data, CURL_LOCK_DATA_DNS, CURL_LOCK_ACCESS_SINGLE);