[dovecot-cvs] dovecot/src/deliver auth-client.c,1.7,1.8

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


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

Modified Files:
	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.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- auth-client.c	15 Dec 2006 18:38:09 -0000	1.7
+++ auth-client.c	21 Mar 2007 20:06:19 -0000	1.8
@@ -156,7 +156,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