diff options
author | Yang Tse <yangsita@gmail.com> | 2006-07-19 19:09:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-07-19 19:09:56 +0000 |
commit | 4d2e81661bbea7164209b5aac28c4f3d3f5dae8c (patch) | |
tree | fceb16a672009b7a419d3868e38702da3ec79ce7 /src | |
parent | 483a586d558d3b5d7b5b7012092a5597a08302a1 (diff) |
Avoid variable declaration shadowing previously declared one
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index 5df84d9c7..0125ddf84 100644 --- a/src/main.c +++ b/src/main.c @@ -4022,10 +4022,10 @@ operate(struct Configurable *config, int argc, char *argv[]) retry = RETRY_TIMEOUT; else if(CURLE_OK == res) { /* Check for HTTP transient errors */ - char *url=NULL; - curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &url); - if(url && - curlx_strnequal(url, "http", 4)) { + char *this_url=NULL; + curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &this_url); + if(this_url && + curlx_strnequal(this_url, "http", 4)) { /* This was HTTP(S) */ curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response); |