From 8e6cca00285ef0e351c4e912057a4cdbec25e55e Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Tue, 31 Aug 2021 12:13:54 +0300 Subject: [PATCH] Fix grammar/typos in comments and diagnostic messages Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Signed-off-by: Daniel Lenski --- array.c | 4 ++-- gpst.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/array.c b/array.c index 96e7c455..1a23bdcb 100644 --- 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 1fef7185..25ba370f 100644 --- 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 address (%s) differs from external\n" - "gateway address (%s). Please report any this to\n" + "gateway address (%s). Please report this to\n" ", including any problems\n" "with ESP or other apparent loss of connectivity or performance.\n"), s, vpninfo->ip_info.gateway_addr); -- 2.50.1