diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2019-06-16 01:05:53 +0200 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2019-06-16 01:05:53 +0200 |
commit | ef8d98bbbab0ca083aa179bd595aab39019ec8de (patch) | |
tree | 6dfb374430da3e4ec0a09f4280b8c4e55ca43832 /packages | |
parent | c97e8493a629d7d2087197a7be8dd0dbc22f90ec (diff) | |
download | curl-ef8d98bbbab0ca083aa179bd595aab39019ec8de.tar.gz |
os400: make vsetopt() non-static as Curl_vsetopt() for os400 support.
Use it in curl_easy_setopt_ccsid().
Reported-by: jonrumsey on github
Fixes #3833
Closes #4028
Diffstat (limited to 'packages')
-rw-r--r-- | packages/OS400/ccsidcurl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 39a1f99b5..4b462a273 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1314,12 +1314,9 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...) case CURLOPT_ERRORBUFFER: /* This is an output buffer. */ default: - { - long val = va_arg(arg, long); - result = curl_easy_setopt(curl, tag, val); + result = Curl_vsetopt(curl, tag, arg); break; } - } va_end(arg); return result; |