aboutsummaryrefslogtreecommitdiff
path: root/packages/OS400
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2019-06-16 01:05:53 +0200
committerPatrick Monnerat <patrick@monnerat.net>2019-06-16 01:05:53 +0200
commitef8d98bbbab0ca083aa179bd595aab39019ec8de (patch)
tree6dfb374430da3e4ec0a09f4280b8c4e55ca43832 /packages/OS400
parentc97e8493a629d7d2087197a7be8dd0dbc22f90ec (diff)
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/OS400')
-rw-r--r--packages/OS400/ccsidcurl.c5
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;