]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Fix grammar/typos in comments and diagnostic messages
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Tue, 31 Aug 2021 09:13:54 +0000 (12:13 +0300)
committerDaniel Lenski <dlenski@gmail.com>
Tue, 7 Dec 2021 17:43:42 +0000 (09:43 -0800)
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Signed-off-by: Daniel Lenski <dlenski@gmail.com>
array.c
gpst.c

diff --git a/array.c b/array.c
index 96e7c4550f4df3caf33eac7d26323c632453e781..1a23bdcb0d24c4fd1158963a97aebe6c683bc6d4 100644 (file)
--- a/array.c
+++ b/array.c
@@ -142,10 +142,10 @@ static int parse_cookie(struct openconnect_info *vpninfo)
 {
        char *p = vpninfo->cookie;
 
-       /* We currently expect the "cookie" to be contain multiple cookies:
+       /* We currently expect the "cookie" to contain multiple cookies:
         * DSSignInUrl=/; DSID=xxx; DSFirstAccess=xxx; DSLastAccess=xxx
         * Process those into vpninfo->cookies unless we already had them
-        * (in which case they'll may be newer. */
+        * (in which case they may be newer). */
        while (p && *p) {
                char *semicolon = strchr(p, ';');
                char *equals;
diff --git a/gpst.c b/gpst.c
index 1fef71854c412db69bb302e28a7e94d50fbaf27e..25ba370faaaff618b0620978449721b0348f2052 100644 (file)
--- a/gpst.c
+++ b/gpst.c
@@ -421,7 +421,7 @@ static int gpst_parse_config_xml(struct openconnect_info *vpninfo, xmlNode *xml_
                } else if (!xmlnode_get_val(xml_node, "connected-gw-ip", &s)) {
                        if (vpninfo->ip_info.gateway_addr && strcmp(s, vpninfo->ip_info.gateway_addr))
                                vpn_progress(vpninfo, PRG_DEBUG, _("Config XML <connected-gw-ip> address (%s) differs from external\n"
-                                                                  "gateway address (%s). Please report any this to\n"
+                                                                  "gateway address (%s). Please report this to\n"
                                                                   "<openconnect-devel@lists.infradead.org>, including any problems\n"
                                                                   "with ESP or other apparent loss of connectivity or performance.\n"),
                                             s, vpninfo->ip_info.gateway_addr);