[dovecot-cvs] dovecot/src/auth auth-request-handler-default.c, 1.2, 1.3

cras at dovecot.org cras at dovecot.org
Sun Jan 9 22:29:10 EET 2005


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

Modified Files:
	auth-request-handler-default.c 
Log Message:
We were supposed to remove userdb_* fields from auth reply, but instead we
removed everything else.



Index: auth-request-handler-default.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request-handler-default.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- auth-request-handler-default.c	9 Jan 2005 19:47:30 -0000	1.2
+++ auth-request-handler-default.c	9 Jan 2005 20:29:08 -0000	1.3
@@ -119,7 +119,7 @@
 
 	fields = t_strsplit(request->extra_fields, "\t");
 	for (src = dest = 0; fields[src] != NULL; src++) {
-		if (strncmp(fields[src], "userdb_", 7) == 0)
+		if (strncmp(fields[src], "userdb_", 7) != 0)
 			fields[dest++] = fields[src];
 	}
 	fields[dest] = NULL;



More information about the dovecot-cvs mailing list