summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-27 22:36:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-27 22:36:00 (GMT)
commit588653c4e8f16ab6f2cd5e552782057b5e679c9f (patch)
tree2584fd6ad674818a370ebd96cbf6bd6c8243e968 /Utilities/cmxmlrpc/xmlrpc_curl_transport.c
parent8946d2f55e1042dbcfb5faa37d558c46cdea0eb1 (diff)
downloadCMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.zip
CMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.tar.gz
CMake-588653c4e8f16ab6f2cd5e552782057b5e679c9f.tar.bz2
COMP: Remove warnings about shadow variables
Diffstat (limited to 'Utilities/cmxmlrpc/xmlrpc_curl_transport.c')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_curl_transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
index 0852d28..e98353e 100644
--- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
+++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
@@ -368,12 +368,12 @@ performCurlTransaction(xmlrpc_env * const envP,
"HTTP POST request. curl_easy_perform() says: %s",
curlTransactionP->curlError);
else {
- CURLcode res;
+ CURLcode crRes;
long http_result;
- res = curl_easy_getinfo(curlSessionP, CURLINFO_HTTP_CODE,
+ crRes = curl_easy_getinfo(curlSessionP, CURLINFO_HTTP_CODE,
&http_result);
- if (res != CURLE_OK)
+ if (crRes != CURLE_OK)
xmlrpc_env_set_fault_formatted(
envP, XMLRPC_INTERNAL_ERROR,
"Curl performed the HTTP POST request, but was "