Home
last modified time | relevance | path

Searched refs:new_item (Results 1 – 2 of 2) sorted by relevance

/curl/src/
H A Dslist_wc.c41 struct curl_slist *new_item = curl_slist_append(NULL, data); in slist_wc_append() local
43 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()
/curl/lib/
H A Dslist.c64 struct curl_slist *new_item; in Curl_slist_append_nodup() local
68 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 5 milliseconds