[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.38, 1.39

cras at dovecot.org cras at dovecot.org
Fri Oct 29 20:56:49 EEST 2004


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv16961

Modified Files:
	client-authenticate.c 
Log Message:
typofix: advertise auth=plain only with disable_plaintext_auth = yes



Index: client-authenticate.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client-authenticate.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- client-authenticate.c	18 Oct 2004 23:07:02 -0000	1.38
+++ client-authenticate.c	29 Oct 2004 17:56:46 -0000	1.39
@@ -35,7 +35,7 @@
 		   c) we allow insecure authentication
 		*/
 		if ((mech[i].flags & MECH_SEC_PRIVATE) == 0 &&
-		    (client->common.secured || disable_plaintext_auth ||
+		    (client->common.secured || !disable_plaintext_auth ||
 		     (mech[i].flags & MECH_SEC_PLAINTEXT) == 0)) {
 			str_append_c(str, ' ');
 			str_append(str, mech[i].name);



More information about the dovecot-cvs mailing list