Fixing variable size issues (was uint, should be long) with http response code.

This commit is contained in:
Gilbert Clark 2013-01-18 14:23:34 -05:00
parent 0a7e0cc7d5
commit cce73a3aad

View file

@ -402,7 +402,7 @@ bool ElasticSearch::HTTPSend(CURL *handle)
case CURLE_OK: case CURLE_OK:
{ {
uint http_code = 0; long http_code = 0;
curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &http_code); curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &http_code);
if ( http_code == 200 ) if ( http_code == 200 )
// Hopefully everything goes through here. // Hopefully everything goes through here.