From eaf84a7850f2af70b16fb417cd002f5e39df5db2 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 5 Aug 2025 10:38:20 -0400 Subject: Re-add sending array to packet_pool, build fixes Signed-off-by: Andrew Opalach --- src/curl/http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/curl') diff --git a/src/curl/http.c b/src/curl/http.c index 364b32e..0088f4f 100644 --- a/src/curl/http.c +++ b/src/curl/http.c @@ -169,13 +169,13 @@ static bool init_request_internal(struct nn_http *http, u8 method) struct nn_curl *curl = &http->curl; switch (method) { case NNWT_HTTP_HEAD: - curl_easy_setopt(curl->handle, CURLOPT_NOBODY, 1); + curl_easy_setopt(curl->handle, CURLOPT_NOBODY, 1L); break; case NNWT_HTTP_GET: - curl_easy_setopt(curl->handle, CURLOPT_HTTPGET, 1); + curl_easy_setopt(curl->handle, CURLOPT_HTTPGET, 1L); break; case NNWT_HTTP_POST: - curl_easy_setopt(curl->handle, CURLOPT_POST, 1); + curl_easy_setopt(curl->handle, CURLOPT_POST, 1L); break; } curl_easy_setopt(curl->handle, CURLOPT_WRITEFUNCTION, stream_write_callback); -- cgit v1.2.3-101-g0448