[dovecot-cvs] dovecot/src/deliver auth-client.c,1.1.2.6,1.1.2.7

tss at dovecot.org tss at dovecot.org
Wed Mar 21 22:06:19 EET 2007


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv19159

Modified Files:
      Tag: branch_1_0
	auth-client.c 
Log Message:
FAIL reply doesn't necessarily have parameters. Don't give "BUG: Unexpected
input" if that happens.



Index: auth-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/auth-client.c,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -d -r1.1.2.6 -r1.1.2.7
--- auth-client.c	2 Nov 2006 18:11:02 -0000	1.1.2.6
+++ auth-client.c	21 Mar 2007 20:06:16 -0000	1.1.2.7
@@ -157,7 +157,7 @@
 			auth_parse_input(conn, line + 7);
 		} else if (strcmp(line, "NOTFOUND\t1") == 0)
 			return_value = EX_NOUSER;
-		else if (strncmp(line, "FAIL\t1\t", 7) == 0)
+		else if (strncmp(line, "FAIL\t1", 6) == 0)
 			return_value = EX_TEMPFAIL;
 		else {
 			i_error("BUG: Unexpected input from auth master: %s",



More information about the dovecot-cvs mailing list