summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-04 23:55:56 +0000
committerYang Tse <yangsita@gmail.com>2009-06-04 23:55:56 +0000
commit1c2947581b8694b3e8ab447c5c7c2c9dbb43bf8b (patch)
tree6d4b450593c27037e70e22d5976be76db2192781 /lib/dict.c
parent00883822be245d2660a569e6bde38892b9433aa2 (diff)
downloadcurl-1c2947581b8694b3e8ab447c5c7c2c9dbb43bf8b.tar.gz
fix shadowing of a global declaration
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dict.c b/lib/dict.c
index aa13ebdc9..acf7ef689 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -112,7 +112,7 @@ const struct Curl_handler Curl_handler_dict = {
PROT_DICT /* protocol */
};
-static char *unescape_word(struct SessionHandle *data, const char *inp)
+static char *unescape_word(struct SessionHandle *data, const char *inputbuff)
{
char *newp;
char *dictp;
@@ -121,7 +121,7 @@ static char *unescape_word(struct SessionHandle *data, const char *inp)
char byte;
int olen=0;
- newp = curl_easy_unescape(data, inp, 0, &len);
+ newp = curl_easy_unescape(data, inputbuff, 0, &len);
if(!newp)
return NULL;