]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Fix typos found by codespell
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Tue, 27 Feb 2024 13:14:29 +0000 (14:14 +0100)
committerDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Mon, 13 Jan 2025 08:49:48 +0000 (09:49 +0100)
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
configure.ac
main.c
pulse.c
ssl.c
tests/wintun-names.c
www/nonroot.xml

index 6beea28f1f65145a8879fc265cab5bc525f84ec0..01727d225139432394985e76565d33fa19629dcf 100644 (file)
@@ -230,7 +230,7 @@ elif test "$have_win" = "yes"; then
    with_vpnc_script="$(echo "${with_vpnc_script}" | sed s/\\\\/\\\\\\\\/g)"
 fi
 
-AC_DEFINE_UNQUOTED(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}", [Default vpnc-script locatin])
+AC_DEFINE_UNQUOTED(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}", [Default vpnc-script location])
 AC_SUBST(DEFAULT_VPNCSCRIPT, "${with_vpnc_script}")
 
 AC_CHECK_FUNC(fdevname_r, [AC_DEFINE(HAVE_FDEVNAME_R, 1, [Have fdevname_r() function])], [])
diff --git a/main.c b/main.c
index be0e3cd7566a1d4e3e431e93894bfbf77897f42f..b03481e88b691c6e8c522424b42e47041bbe814c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1128,7 +1128,7 @@ static void usage(void)
 
        printf("\n%s:\n", _("Server bugs"));
        printf("      --no-external-auth          %s\n", _("Do not offer or use auth methods requiring external browser"));
-       printf("      --no-http-keepalive         %s\n", _("Disable HTTP connection re-use"));
+       printf("      --no-http-keepalive         %s\n", _("Disable HTTP connection reuse"));
        printf("      --no-xmlpost                %s\n", _("Do not attempt XML POST authentication"));
        printf("      --allow-insecure-crypto     %s\n", _("Allow use of the ancient, insecure 3DES and RC4 ciphers"));
 
@@ -1199,7 +1199,7 @@ static inline char *__dup_config_arg(char **argv, char *config_arg)
 
 static int next_option(int argc, char **argv, char **config_arg)
 {
-       /* These get re-used */
+       /* These get reused */
        static char *line_buf; /* static variable initialised to NULL */
        static size_t line_size; /* static variable initialised to 0 */
 
@@ -2134,7 +2134,7 @@ int main(int argc, char *argv[])
                        break;
                case OPT_NO_HTTP_KEEPALIVE:
                        fprintf(stderr,
-                               _("Disabling all HTTP connection re-use due to --no-http-keepalive option.\n"
+                               _("Disabling all HTTP connection reuse due to --no-http-keepalive option.\n"
                                  "If this helps, please report to <%s>.\n"),
                                "openconnect-devel@lists.infradead.org");
                        vpninfo->no_http_keepalive = 1;
diff --git a/pulse.c b/pulse.c
index ace9439bb0bcc8b4105523f5f06e118efa2dc6b0..558895fbb70af487707d88684fca35be79412b62 100644 (file)
--- a/pulse.c
+++ b/pulse.c
@@ -2352,7 +2352,7 @@ static int handle_attr_elements(struct openconnect_info *vpninfo,
    address range is in bytes 8-11 (starting address) and the highest address
    of the range (traditionally a broadcast address) is in bytes 12-15.
 
-   After the routing inforamation (in this example at 0xa4) comes another
+   After the routing information (in this example at 0xa4) comes another
    length field, this time for the information elements which comprise
    the rest of the packet. Not sure what the 03 00 00 00 at 0xa8 means;
    it *could* be an element type 0x3000 with payload length zero but if it
diff --git a/ssl.c b/ssl.c
index 22bd04d1935cfea43649ee4a6091f0b1d58facce..a3db7869f705d48faeaa1a68999808920e5cf5a5 100644 (file)
--- a/ssl.c
+++ b/ssl.c
@@ -268,8 +268,8 @@ int connect_https_socket(struct openconnect_info *vpninfo)
        int err;
 
        /* If we're talking to a server which told us it has dynamic DNS, don't
-          just re-use its previous IP address. If we're talking to a proxy, we
-          can use *its* previous IP address. We expect it'll re-do the DNS
+          just reuse its previous IP address. If we're talking to a proxy, we
+          can use *its* previous IP address. We expect it'll redo the DNS
           lookup for the server anyway. */
        if (vpninfo->peer_addr && (!vpninfo->is_dyndns || vpninfo->proxy)) {
        reconnect:
index 8ac9e4b7adb7c60f3b85b1de85bdb1315c5245c5..e671d6e9cc1f5e580d11d16a45fe4ee8d15cd7c3 100644 (file)
@@ -257,7 +257,7 @@ int main(void)
     } while ( (len < (MAX_ADAPTER_NAME - 1)) && (ret == VALID_WINTUN_HANDLE) );
 
     if (ret != VALID_WINTUN_HANDLE) {
-        /* last test was not succesful*/
+        /* last test was not successful */
         FreeLibrary(Wintun);
         return 1;
     }
index 4c1f8dd4361550123fa62664d394736e4c4f4876..90e1a69cc3e2815cfb4eb40be6e1aa93c16ced8b 100644 (file)
@@ -100,7 +100,7 @@ socket to that program.</p>
 such as <a href="https://savannah.nongnu.org/projects/lwip/">lwip</a>
 to provide SOCKS access to the VPN, without requiring root privileges
 at all.</p>
-<p>SOCKS proxy implementions suitable for being used from OpenConnect
+<p>SOCKS proxy implementations suitable for being used from OpenConnect
 include:</p>
 <ul>
   <li><a href="https://github.com/cernekee/ocproxy">ocproxy</a></li>