change http_status to a long, as per Curl API, which stops mysterious crashes caused by overwriting the WRITELOCATION ptr
This commit is contained in:
parent
199e4b9c95
commit
0d05cf3a0c
@ -131,7 +131,7 @@ _pingback (void *arg)
|
||||
return_str = "";
|
||||
|
||||
if (curl_easy_perform (c) == 0) {
|
||||
int http_status;
|
||||
long http_status;
|
||||
|
||||
curl_easy_getinfo (c, CURLINFO_RESPONSE_CODE, &http_status);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user