]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
OS400: Update strings for ccsid-ifier
authorCalvin Buckley <calvin@cmpct.info>
Sat, 21 Mar 2020 18:54:16 +0000 (19:54 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Mar 2020 09:37:59 +0000 (10:37 +0100)
Fixes build.

Closes #5132

packages/OS400/ccsidcurl.c
packages/OS400/chkstrings.c

index 64fb7393d0c5585c34b032b54b0f0021c07477b7..4e04927b077d386b60ff418e04bc988d4f8b4c89 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -1148,6 +1148,9 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...)
   case CURLOPT_CUSTOMREQUEST:
   case CURLOPT_DEFAULT_PROTOCOL:
   case CURLOPT_DNS_SERVERS:
+  case CURLOPT_DNS_INTERFACE:
+  case CURLOPT_DNS_LOCAL_IP4:
+  case CURLOPT_DNS_LOCAL_IP6:
   case CURLOPT_DOH_URL:
   case CURLOPT_EGDSOCKET:
   case CURLOPT_ENCODING:
index 613540e42714fba1d8a2f70b9c82635472cfccea..0832636406906fd2366917d18cefb213da017663 100644 (file)
 /* The following defines indicate the expected dupstring enum values
  * in curl_easy_setopt_ccsid() in packages/OS400/ccsidcurl.c. If a
  * mismatch is flagged during the build, it indicates that curl_easy_setopt_ccsid()
- * may need updating to perform data EBCDIC to ASCII data conversion on 
+ * may need updating to perform data EBCDIC to ASCII data conversion on
  * the string.
  * Once any applicable changes to curl_easy_setopt_ccsid() have been
  * made, the EXPECTED_STRING_LASTZEROTERMINATED/EXPECTED_STRING_LAST
  * values can be updated to match the latest enum values in urldata.h.
  */
-#define EXPECTED_STRING_LASTZEROTERMINATED  (STRING_TEMP_URL + 1)
+#define EXPECTED_STRING_LASTZEROTERMINATED  (STRING_DNS_LOCAL_IP6 + 1)
 #define EXPECTED_STRING_LAST                (STRING_COPYPOSTFIELDS + 1)
 
 int main(int argc, char *argv[])
@@ -43,13 +43,13 @@ int main(int argc, char *argv[])
 
   if (STRING_LASTZEROTERMINATED != EXPECTED_STRING_LASTZEROTERMINATED)
   {
-    fprintf(stderr,"STRING_LASTZEROTERMINATED(%d) is not expected value(%d).\n", 
+    fprintf(stderr,"STRING_LASTZEROTERMINATED(%d) is not expected value(%d).\n",
             STRING_LASTZEROTERMINATED, EXPECTED_STRING_LASTZEROTERMINATED);
     rc += 1;
   }
   if (STRING_LAST != EXPECTED_STRING_LAST)
   {
-    fprintf(stderr,"STRING_LAST(%d) is not expected value(%d).\n", 
+    fprintf(stderr,"STRING_LAST(%d) is not expected value(%d).\n",
             STRING_LAST, EXPECTED_STRING_LAST);
     rc += 2;
   }
@@ -59,4 +59,4 @@ int main(int argc, char *argv[])
             " may need updating if new strings are provided as input via the curl API.\n");
   }
   return rc;
-}
\ No newline at end of file
+}