mirror of
https://github.com/curl/curl.git
synced 2026-04-30 18:07:53 +03:00
Force setopt constants written by --libcurl to be long
This commit is contained in:
parent
d6b9f76943
commit
a9aeedcdbe
1 changed files with 1 additions and 1 deletions
|
|
@ -4186,7 +4186,7 @@ static CURLcode _my_setopt(CURL *curl, bool str, struct Configurable *config,
|
|||
|
||||
if(tag < CURLOPTTYPE_OBJECTPOINT) {
|
||||
long lval = va_arg(arg, long);
|
||||
snprintf(value, sizeof(value), "%ld", lval);
|
||||
snprintf(value, sizeof(value), "%ldL", lval);
|
||||
ret = curl_easy_setopt(curl, tag, lval);
|
||||
if(!lval)
|
||||
skip = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue