slist.c: fix indentation
authorPatrick Monnerat <pm@datasphere.ch>
Mon, 15 Jul 2013 17:46:19 +0000 (19:46 +0200)
committerPatrick Monnerat <pm@datasphere.ch>
Mon, 15 Jul 2013 17:46:19 +0000 (19:46 +0200)
lib/slist.c

index 8e52c70..123ea05 100644 (file)
@@ -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