From 4ac54f8c2cee47cc2e2398c10b908e70c146ac90 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 19 Jul 2006 18:32:38 +0000 Subject: remove variable declaration shadowing previously declared one --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3