summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 9774ca0e5..5aa0e5dac 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -93,10 +93,10 @@ struct curl_slist *curl_slist_append(struct curl_slist *list,
new_item = (struct curl_slist *) malloc(sizeof(struct curl_slist));
if (new_item) {
- char *dup = strdup(data);
- if(dup) {
+ char *dupdata = strdup(data);
+ if(dupdata) {
new_item->next = NULL;
- new_item->data = dup;
+ new_item->data = dupdata;
}
else {
free(new_item);