diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-21 19:03:20 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-21 19:03:20 +0000 |
commit | 3a634a273a7bff3d219883f572db786e2c1004b1 (patch) | |
tree | a0f1f70c6de10f38c29e3f5f468bed50db759ec1 /lib/strerror.c | |
parent | 06d1b029f63b9b03dfa3b9bfe34ba1baeb67df29 (diff) | |
download | curl-3a634a273a7bff3d219883f572db786e2c1004b1.tar.gz |
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index e18af7286..b07067cec 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -600,8 +600,8 @@ const char *Curl_strerror(struct connectdata *conn, int err) char *buf, *p; size_t max; - curlassert(conn); - curlassert(err >= 0); + DEBUGASSERT(conn); + DEBUGASSERT(err >= 0); buf = conn->syserr_buf; max = sizeof(conn->syserr_buf)-1; @@ -685,7 +685,7 @@ const char *Curl_idn_strerror (struct connectdata *conn, int err) char *buf; size_t max; - curlassert(conn); + DEBUGASSERT(conn); buf = conn->syserr_buf; max = sizeof(conn->syserr_buf)-1; |