mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
OS400/ccsidcurl: replace use of Curl_vsetopt
(and make the code style comply) Fixes #3833
This commit is contained in:
parent
bdb2dbc103
commit
bccf1dce53
@ -1305,9 +1305,12 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
|
|||||||
|
|
||||||
case CURLOPT_ERRORBUFFER: /* This is an output buffer. */
|
case CURLOPT_ERRORBUFFER: /* This is an output buffer. */
|
||||||
default:
|
default:
|
||||||
result = Curl_vsetopt(data, tag, arg);
|
{
|
||||||
|
long val = va_arg(arg, long);
|
||||||
|
result = curl_easy_setopt(curl, tag, val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
va_end(arg);
|
va_end(arg);
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user