[dovecot-cvs] dovecot/src/lib-auth auth-server-request.c, 1.28, 1.29
tss at dovecot.org
tss at dovecot.org
Fri Jan 26 13:58:55 UTC 2007
Update of /var/lib/cvs/dovecot/src/lib-auth
In directory talvi:/tmp/cvs-serv15340/lib-auth
Modified Files:
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.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- auth-server-request.c 15 Dec 2006 18:10:54 -0000 1.28
+++ auth-server-request.c 26 Jan 2007 13:58:52 -0000 1.29
@@ -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