From 210fc95c0fd415ed4e240e11346f63b27ce418a6 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Thu, 5 Nov 2015 14:41:22 +0100 Subject: os400: adjust specific code to support new options. --- packages/OS400/ccsidcurl.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/OS400/ccsidcurl.c') diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 841ca9cbc..acb91b20c 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -933,6 +933,14 @@ curl_formadd_ccsid(struct curl_httppost * * httppost, break; + case CURLFORM_CONTENTLEN: + lengthx = nargs; + + if(!forms) + value = (char *) va_arg(arg, curl_off_t); + + break; + case CURLFORM_NAMELENGTH: namelengthx = nargs; -- cgit v1.2.3