aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-19 18:32:38 +0000
committerYang Tse <yangsita@gmail.com>2006-07-19 18:32:38 +0000
commit4ac54f8c2cee47cc2e2398c10b908e70c146ac90 (patch)
tree474ce884e733ad7458706bad5f7d6150df3e8a8c /lib
parent840aacf7dd633a4d03db797f89b567548722544d (diff)
remove variable declaration shadowing previously declared one
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 3c0f1fb6d..58564be37 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1771,7 +1771,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
uses the encoded host name! */
if(conn->host.dispname != conn->host.name) {
char *url = data->change.url;
- char *ptr = strstr(url, conn->host.dispname);
+ ptr = strstr(url, conn->host.dispname);
if(ptr) {
/* This is where the display name starts in the URL, now replace this
part with the encoded name. TODO: This method of replacing the host