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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user