From 16b95fc77316fdd3866f7de4ebb5d14bd136ac11 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 27 Sep 2007 01:45:22 +0000 Subject: Enabled a few more gcc warnings with --enable-debug. Renamed a few variables to avoid shadowing global declarations. --- lib/sendf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sendf.c') 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); -- cgit v1.2.3