projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99924f6
)
curl_slist_append(): fix error detection
author
Patrick Monnerat
<pm@datasphere.ch>
Mon, 15 Jul 2013 17:49:30 +0000
(19:49 +0200)
committer
Patrick Monnerat
<pm@datasphere.ch>
Mon, 15 Jul 2013 17:49:30 +0000
(19:49 +0200)
lib/slist.c
patch
|
blob
|
history
diff --git
a/lib/slist.c
b/lib/slist.c
index
123ea05
..
108d0f0
100644
(file)
--- a/
lib/slist.c
+++ b/
lib/slist.c
@@
-90,7
+90,7
@@
struct curl_slist *curl_slist_append(struct curl_slist *list,
{
char *dupdata = strdup(data);
- if(!data)
+ if(!d
upd
ata)
return NULL;
list = Curl_slist_append_nodup(list, dupdata);