]> granicus.if.org Git - curl/commitdiff
Adjust OS400-specific support to last release
authorPatrick Monnerat <pm@datasphere.ch>
Wed, 5 Nov 2014 11:42:24 +0000 (12:42 +0100)
committerPatrick Monnerat <pm@datasphere.ch>
Wed, 5 Nov 2014 11:42:24 +0000 (12:42 +0100)
packages/OS400/ccsidcurl.c

index 85295cb5f6c43559a219f52c09530685a9870dbb..2dd7bcb92f4463910aeb95036bcf6f44e3671104 100644 (file)
@@ -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");
     }