changeset 250:d059b0bb57dd

Forgot to revert echo flag
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Sep 2005 17:36:32 +0000
parents efbaf6b03837
children b02e8eef3c3a
files cli-authinteract.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-authinteract.c	Tue Sep 20 17:35:21 2005 +0000
+++ b/cli-authinteract.c	Tue Sep 20 17:36:32 2005 +0000
@@ -114,7 +114,7 @@
 
 		echo = buf_getbool(ses.payload);
 
-		if (echo) {
+		if (!echo) {
 			unsigned char* p = getpass(prompt);
 			response = m_strdup(p);
 			m_burn(p, strlen(p));