summaryrefslogtreecommitdiff
path: root/lib/llist.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-09-05 12:44:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-09-05 12:44:35 +0000
commitadcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db (patch)
tree473f442f39e8a09415dd87e1aba853b00b772f1a /lib/llist.c
parent359c0eac0ddc8849334e4b05012ec41540892f02 (diff)
downloadcurl-adcbe03aeb72e25c2c1509c0ad3fd1d1e620b6db.tar.gz
Uses less macros. #ifdef'ed out unused functions. Edited slightly to be
more in the same style as other curl source code. The only actual code change is an added check after a malloc() call.
Diffstat (limited to 'lib/llist.c')
-rw-r--r--lib/llist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/llist.c b/lib/llist.c
index 7ffdb1043..57c15154c 100644
--- a/lib/llist.c
+++ b/lib/llist.c
@@ -161,7 +161,7 @@ Curl_llist_destroy(curl_llist *list, void *user)
{
if(list) {
while (list->size > 0)
- Curl_llist_remove(list, CURL_LLIST_TAIL(list), user);
+ Curl_llist_remove(list, list->tail, user);
free(list);
}