Improve readability of progress message
authorNick Andrew <nick@nick-andrew.net>
Thu, 9 Apr 2009 15:23:24 +0000 (01:23 +1000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 9 Apr 2009 16:05:44 +0000 (09:05 -0700)
"remaining timeout 8s" reads better than "remain timeout 8s".

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c

diff --git a/cstp.c b/cstp.c
index 441869f..a8c7e27 100644 (file)
--- a/cstp.c
+++ b/cstp.c
@@ -2,6 +2,7 @@
  * OpenConnect (SSL + DTLS) VPN client
  *
  * Copyright © 2008 Intel Corporation.
+ * Copyright © 2008 Nick Andrew <nick@nick-andrew.net>
  *
  * Author: David Woodhouse <dwmw2@infradead.org>
  *
@@ -335,7 +336,7 @@ static int cstp_reconnect(struct openconnect_info *vpninfo)
                if (timeout <= 0)
                        return ret;
                vpninfo->progress(vpninfo, PRG_INFO,
-                                 "sleep %ds, remain timeout %ds\n",
+                                 "sleep %ds, remaining timeout %ds\n",
                                  interval, timeout);
                sleep(interval);
                if (killed)