mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fixing variable size issues (was uint, should be long) with http response code.
This commit is contained in:
parent
0a7e0cc7d5
commit
cce73a3aad
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue