diff options
-rw-r--r-- | lib/slist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/slist.c b/lib/slist.c index 8e52c7061..123ea05c3 100644 --- a/lib/slist.c +++ b/lib/slist.c @@ -73,10 +73,10 @@ struct curl_slist *Curl_slist_append_nodup(struct curl_slist *list, char *data) if(!list) return new_item; - last = slist_get_last(list); - last->next = new_item; - return list; - } + last = slist_get_last(list); + last->next = new_item; + return list; +} /* * curl_slist_append() appends a string to the linked list. It always returns |