[dovecot-cvs] dovecot/src/lib-auth auth-server-request.c, 1.25.2.1, 1.25.2.2

tss at dovecot.org tss at dovecot.org
Fri Jan 26 13:58:33 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv15336/lib-auth

Modified Files:
      Tag: branch_1_0
	auth-server-request.c 
Log Message:
Cleanups and minor fixes



Index: auth-server-request.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-auth/auth-server-request.c,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -u -d -r1.25.2.1 -r1.25.2.2
--- auth-server-request.c	17 Jun 2006 14:45:53 -0000	1.25.2.1
+++ auth-server-request.c	26 Jan 2007 13:58:31 -0000	1.25.2.2
@@ -206,10 +206,11 @@
 	unsigned int id;
 
 	data = strchr(args, '\t');
-	if (data++ == NULL) {
+	if (data == NULL) {
 		i_error("BUG: Authentication server sent broken CONT line");
 		return FALSE;
 	}
+	data++;
 
 	id = (unsigned int)strtoul(args, NULL, 10);
 



More information about the dovecot-cvs mailing list