BUG: Attempt to get error code
This commit is contained in:
parent
725645baaa
commit
0f4cafe722
|
@ -437,8 +437,8 @@ performCurlTransaction(xmlrpc_env * const envP,
|
||||||
if (res != CURLE_OK)
|
if (res != CURLE_OK)
|
||||||
xmlrpc_env_set_fault_formatted(
|
xmlrpc_env_set_fault_formatted(
|
||||||
envP, XMLRPC_NETWORK_ERROR, "Curl failed to perform "
|
envP, XMLRPC_NETWORK_ERROR, "Curl failed to perform "
|
||||||
"HTTP POST request. curl_easy_perform() says: %s",
|
"HTTP POST request. curl_easy_perform() says: %s (%d)",
|
||||||
curlTransactionP->curlError);
|
curlTransactionP->curlError, res);
|
||||||
else {
|
else {
|
||||||
CURLcode crRes;
|
CURLcode crRes;
|
||||||
long http_result;
|
long http_result;
|
||||||
|
|
Loading…
Reference in New Issue