aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2014-11-05 12:42:24 +0100
committerPatrick Monnerat <pm@datasphere.ch>2014-11-05 12:42:24 +0100
commit1c05b9359d7dd96c7da5a8609beb679533edb595 (patch)
tree8caf9772f6812dd0fdd6abc8e394911acc57e882 /packages
parentad63f8a53c796d3e825f4509edf7ae87c8fb82a1 (diff)
Adjust OS400-specific support to last release
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/ccsidcurl.c3
1 files changed, 2 insertions, 1 deletions
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");
}