Fix no-password progress report message
authorNick Andrew <nick@nick-andrew.net>
Thu, 9 Apr 2009 15:23:22 +0000 (01:23 +1000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 9 Apr 2009 16:05:36 +0000 (09:05 -0700)
Clarify that the option is '--no-passwd' not 'nopasswd' (which is
the internal name for it).

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

diff --git a/http.c b/http.c
index 4ce9fe6..a6418cf 100644 (file)
--- a/http.c
+++ b/http.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>
  *
@@ -565,7 +566,7 @@ static int parse_xml_response(struct openconnect_info *vpninfo, char *response,
        }
 
        if (vpninfo->nopasswd) {
-               vpninfo->progress(vpninfo, PRG_ERR, "Asked for password but nopasswd set\n");
+               vpninfo->progress(vpninfo, PRG_ERR, "Asked for password but '--no-passwd' set\n");
                return -EPERM;
        }