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
This commit is contained in:
Patrick Monnerat 2019-06-16 01:05:53 +02:00
parent c97e8493a6
commit ef8d98bbba
3 changed files with 9 additions and 10 deletions

View file

@ -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;