diff cli-authinteract.c @ 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 475a818dd6e7 740e782679be
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));