Searched refs:new_item (Results 1 – 2 of 2) sorted by relevance
41 struct curl_slist *new_item = curl_slist_append(NULL, data); in slist_wc_append() local43 if(!new_item) in slist_wc_append()50 curl_slist_free_all(new_item); in slist_wc_append()54 list->first = new_item; in slist_wc_append()55 list->last = new_item; in slist_wc_append()59 list->last->next = new_item; in slist_wc_append()
64 struct curl_slist *new_item; in Curl_slist_append_nodup() local68 new_item = malloc(sizeof(struct curl_slist)); in Curl_slist_append_nodup()69 if(!new_item) in Curl_slist_append_nodup()72 new_item->next = NULL; in Curl_slist_append_nodup()73 new_item->data = data; in Curl_slist_append_nodup()77 return new_item; in Curl_slist_append_nodup()80 last->next = new_item; in Curl_slist_append_nodup()
Completed in 4 milliseconds