mirror of
https://github.com/curl/curl.git
synced 2026-07-23 20:57:16 +03:00
remove variable declaration shadowing previously declared one
This commit is contained in:
parent
840aacf7dd
commit
4ac54f8c2c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue