From: Patrick Monnerat Date: Wed, 5 Nov 2014 11:42:24 +0000 (+0100) Subject: Adjust OS400-specific support to last release X-Git-Tag: curl-7_40_0~456 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c05b9359d7dd96c7da5a8609beb679533edb595;p=curl Adjust OS400-specific support to last release --- diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 85295cb5f..2dd7bcb92 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1114,7 +1114,8 @@ curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...) if(testwarn) { testwarn = 0; - if((int) STRING_LAST != (int) STRING_BEARER + 1) + if((int) STRING_LASTZEROTERMINATED != (int) STRING_BEARER + 1 || + (int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1) curl_mfprintf(stderr, "*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n"); }