2025-02-03 10:50 UTC+0100 Aleksander Czajczynski (hb fki.pl)

* contrib/hbcurl/core.c
    * formatting, use HB_IT_EVALITEM instead ( HB_IT_BLOCK | HB_IT_SYMBOL )
This commit is contained in:
Aleksander Czajczynski
2025-02-03 10:50:33 +01:00
parent af085af261
commit f39adf0370
2 changed files with 6 additions and 2 deletions

View File

@@ -531,7 +531,7 @@ static int hb_curl_debug_callback( CURL * handle, curl_infotype type, char * dat
return 0;
}
static size_t hb_curl_writefunction_callback( void *buffer, size_t size, size_t nmemb, void *Cargo )
static size_t hb_curl_writefunction_callback( void * buffer, size_t size, size_t nmemb, void * Cargo )
{
PHB_CURL hb_curl = ( PHB_CURL ) Cargo;
@@ -976,7 +976,7 @@ HB_FUNC( CURL_EASY_SETOPT )
case HB_CURLOPT_WRITEFUNCTION:
{
PHB_ITEM pWriteFunctionCallback = hb_param( 3, HB_IT_BLOCK | HB_IT_SYMBOL );
PHB_ITEM pWriteFunctionCallback = hb_param( 3, HB_IT_EVALITEM );
if( hb_curl->pWriteFunctionCallback )
{