summaryrefslogtreecommitdiffstats
path: root/Utilities/cmxmlrpc
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-02 22:38:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-02 22:38:45 (GMT)
commit0f4cafe722fa640e81e62263112c6a994e9854e2 (patch)
treecf2dfb393de9f88330a186d222a1cf5ce9cbc9f1 /Utilities/cmxmlrpc
parent725645baaa6463c870cd203ca91be2b4b958c568 (diff)
downloadCMake-0f4cafe722fa640e81e62263112c6a994e9854e2.zip
CMake-0f4cafe722fa640e81e62263112c6a994e9854e2.tar.gz
CMake-0f4cafe722fa640e81e62263112c6a994e9854e2.tar.bz2
BUG: Attempt to get error code
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r--Utilities/cmxmlrpc/xmlrpc_curl_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
index 7ad97f7..795aefa 100644
--- a/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
+++ b/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
@@ -437,8 +437,8 @@ performCurlTransaction(xmlrpc_env * const envP,
if (res != CURLE_OK)
xmlrpc_env_set_fault_formatted(
envP, XMLRPC_NETWORK_ERROR, "Curl failed to perform "
- "HTTP POST request. curl_easy_perform() says: %s",
- curlTransactionP->curlError);
+ "HTTP POST request. curl_easy_perform() says: %s (%d)",
+ curlTransactionP->curlError, res);
else {
CURLcode crRes;
long http_result;