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.
This commit is contained in:
Daniel Stenberg
2003-09-05 12:44:35 +00:00
parent 359c0eac0d
commit adcbe03aeb
3 changed files with 62 additions and 58 deletions

View File

@@ -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);
}