mirror of
https://github.com/curl/curl.git
synced 2026-08-06 20:26:14 +03:00
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:
parent
c97e8493a6
commit
ef8d98bbba
3 changed files with 9 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue