]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
misc: we write *an* IPv6 address
authorDaniel Stenberg <daniel@haxx.se>
Thu, 29 May 2025 22:52:25 +0000 (00:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 May 2025 05:53:31 +0000 (07:53 +0200)
Add it as a "bad word"

Closes #17484

.github/scripts/badwords.txt
docs/KNOWN_BUGS
lib/config-win32.h
lib/curl_addrinfo.c
lib/curl_config.h.cmake
lib/doh.c
lib/ftp.c
m4/curl-functions.m4

index 8451e60fb98db07614a6ef789c2bd0114dc78b8a..741e5376fced227fd3285cdabc6d538307edf786 100644 (file)
@@ -33,6 +33,8 @@ aren't:are not
  a html: an html
  a http: an http
  a ftp: an ftp
+ a IPv4: an IPv4
+ a IPv6: an IPv6
  url =URL
 internet\b=Internet
 isation:ization
index 7ed5ee39dbef0cdf9b43c7a007fa183329c5b58b..6b2a7b81b1a95f072a8dc668f58514dff25a113b 100644 (file)
@@ -447,7 +447,7 @@ problems may have been fixed or changed somewhat since this was written.
 10.1 --interface with link-scoped IPv6 address
 
  When you give the `--interface` option telling curl to use a specific
- interface for its outgoing traffic in combination with a IPv6 address in the
+ interface for its outgoing traffic in combination with an IPv6 address in the
  URL that uses a link-local scope, curl might pick the wrong address from the
  named interface and the subsequent transfer fails.
 
index f62f5bece31dc694a1bd00bc505263c32c6e4e92..c9ba42762d6ffffe8c537773351cf9dda2dcbd1a 100644 (file)
 
 /* Vista */
 #if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x600) && !defined(UNDER_CE)
-/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
+/* Define to 1 if you have an IPv6 capable working inet_ntop function. */
 #define HAVE_INET_NTOP 1
-/* Define to 1 if you have a IPv6 capable working inet_pton function. */
+/* Define to 1 if you have an IPv6 capable working inet_pton function. */
 #define HAVE_INET_PTON 1
 #endif
 
index ad1769fdb0cce806cca40bfcac3e7989c0aba1aa..8bfde699881a59fdc22768fd81ba2d1640ee612b 100644 (file)
@@ -218,7 +218,7 @@ Curl_getaddrinfo_ex(const char *nodename,
  *
  * This function returns a pointer to the first element of a newly allocated
  * Curl_addrinfo struct linked list filled with the data of a given hostent.
- * Curl_addrinfo is meant to work like the addrinfo struct does for a IPv6
+ * Curl_addrinfo is meant to work like the addrinfo struct does for an IPv6
  * stack, but usable also for IPv4, all hosts and environments.
  *
  * The memory allocated by this function *MUST* be free'd later on calling
index 4b5c4da30fdc46ba9f5a8cae8c4255db08acbbbd..efaa8a4594a22e41c88b6f54ec2e1d86c52b23e0 100644 (file)
 /* Define to 1 if you have the <ifaddrs.h> header file. */
 #cmakedefine HAVE_IFADDRS_H 1
 
-/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
+/* Define to 1 if you have an IPv6 capable working inet_ntop function. */
 #cmakedefine HAVE_INET_NTOP 1
 
-/* Define to 1 if you have a IPv6 capable working inet_pton function. */
+/* Define to 1 if you have an IPv6 capable working inet_pton function. */
 #cmakedefine HAVE_INET_PTON 1
 
 /* Define to 1 if symbol `sa_family_t' exists */
index e2d3d6ee2ce9d45fca67f0798731673667370c5c..9f408402a0383738a35ec7ff01c242ca6207b5b8 100644 (file)
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -921,7 +921,7 @@ static void doh_show(struct Curl_easy *data,
  * This function returns a pointer to the first element of a newly allocated
  * Curl_addrinfo struct linked list filled with the data from a set of DoH
  * lookups. Curl_addrinfo is meant to work like the addrinfo struct does for
- * a IPv6 stack, but usable also for IPv4, all hosts and environments.
+ * an IPv6 stack, but usable also for IPv4, all hosts and environments.
  *
  * The memory allocated by this function *MUST* be free'd later on calling
  * Curl_freeaddrinfo(). For each successful call to this function there
index 04c0ad7baa97247a041559fee747bc08f5d0be04..09a31d814aa8aba6c0a2b05cb26e06f52d975dde 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1146,7 +1146,7 @@ static CURLcode ftp_state_use_port(struct Curl_easy *data,
 
 #ifdef USE_IPV6
   if(!conn->bits.ftp_use_eprt && conn->bits.ipv6)
-    /* EPRT is disabled but we are connected to a IPv6 host, so we ignore the
+    /* EPRT is disabled but we are connected to an IPv6 host, so we ignore the
        request and enable EPRT again! */
     conn->bits.ftp_use_eprt = TRUE;
 #endif
@@ -1278,7 +1278,7 @@ static CURLcode ftp_state_use_pasv(struct Curl_easy *data,
 
 #ifdef PF_INET6
   if(!conn->bits.ftp_use_epsv && conn->bits.ipv6)
-    /* EPSV is disabled but we are connected to a IPv6 host, so we ignore the
+    /* EPSV is disabled but we are connected to an IPv6 host, so we ignore the
        request and enable EPSV again! */
     conn->bits.ftp_use_epsv = TRUE;
 #endif
index 7c5588cc006ed2d6bb7623a9fb18dceff662abdb..79bb0ab746f69cb130aba22dbdefb83fe5408564 100644 (file)
@@ -2357,7 +2357,7 @@ AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [
      test "$tst_works_inet_ntop" != "no"; then
     AC_MSG_RESULT([yes])
     AC_DEFINE_UNQUOTED(HAVE_INET_NTOP, 1,
-      [Define to 1 if you have a IPv6 capable working inet_ntop function.])
+      [Define to 1 if you have an IPv6 capable working inet_ntop function.])
     curl_cv_func_inet_ntop="yes"
   else
     AC_MSG_RESULT([no])
@@ -2511,7 +2511,7 @@ AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [
      test "$tst_works_inet_pton" != "no"; then
     AC_MSG_RESULT([yes])
     AC_DEFINE_UNQUOTED(HAVE_INET_PTON, 1,
-      [Define to 1 if you have a IPv6 capable working inet_pton function.])
+      [Define to 1 if you have an IPv6 capable working inet_pton function.])
     curl_cv_func_inet_pton="yes"
   else
     AC_MSG_RESULT([no])