Take new SMTP definitions into account in OS400 wrapper and RPG binding

This commit is contained in:
Patrick Monnerat
2009-12-21 12:26:48 +00:00
parent 83d34a246e
commit 57d3488a0d
3 changed files with 35 additions and 13 deletions

View File

@@ -1030,7 +1030,7 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
if (testwarn) {
testwarn = 0;
if ((int) STRING_LAST != (int) STRING_SOCKS5_GSSAPI_SERVICE + 1)
if ((int) STRING_LAST != (int) STRING_MAIL_RCPT + 1)
curl_mfprintf(stderr,
"*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n");
}
@@ -1083,6 +1083,8 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...)
/* SSH2 not (yet) implemented on OS400. */
/* case CURLOPT_SSH_KNOWNHOSTS: */
case CURLOPT_SOCKS5_GSSAPI_SERVICE:
case CURLOPT_MAIL_FROM:
case CURLOPT_MAIL_RCPT:
s = va_arg(arg, char *);
ccsid = va_arg(arg, unsigned int);