On Jul 24, 2009, Michael Leong wrote:
> cStatus = curl_easy_getinfo (curl, CURLINFO_HTTP_CODE, responseCode);
> printf("\nResponse Code, curlDoHTTP #1: %d\n", *responseCode);
> ...
> (responseCode is an int*)
I think you will want something more like this:
long responseCode;
cStatus = curl_easy_getinfo (curl, CURLINFO_HTTP_CODE, &responseCode);
printf("\nResponse Code, curlDoHTTP #1: %ld\n", responseCode);
- Jeff
