os400: adjust specific code to support new options.

This commit is contained in:
Patrick Monnerat
2015-11-05 14:41:22 +01:00
parent 3bd7f28000
commit 210fc95c0f
2 changed files with 30 additions and 7 deletions

View File

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