2025-09-16 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbcurl/core.c
! pacified warning
This commit is contained in:
@@ -1646,7 +1646,7 @@ HB_FUNC( CURL_EASY_SETOPT )
|
||||
res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, HB_CURL_OPT_BOOL( 3 ) );
|
||||
break;
|
||||
case HB_CURLOPT_DOWNLOAD: /* Harbour extension */
|
||||
res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, ! HB_CURL_OPT_BOOL( 3 ) );
|
||||
res = curl_easy_setopt( hb_curl->curl, CURLOPT_UPLOAD, ( long ) ( HB_CURL_OPT_BOOL( 3 ) ? 0 : 1 ) );
|
||||
break;
|
||||
#if LIBCURL_VERSION_NUM >= 0x070A08 /* Not documented. GUESS. */
|
||||
case HB_CURLOPT_MAXFILESIZE:
|
||||
|
||||
Reference in New Issue
Block a user