[dovecot-cvs] dovecot/src/auth auth-worker-client.c,1.24,1.25

cras at dovecot.org cras at dovecot.org
Fri May 5 17:53:36 EEST 2006


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

Modified Files:
	auth-worker-client.c 
Log Message:
Don't send extra TABs to auth worker server, they break it.



Index: auth-worker-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-client.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- auth-worker-client.c	14 Apr 2006 08:50:45 -0000	1.24
+++ auth-worker-client.c	5 May 2006 14:53:34 -0000	1.25
@@ -89,12 +89,13 @@
 		str_append_c(str, '\t');
 		if (request->passdb_password != NULL)
 			str_append(str, request->passdb_password);
-		str_append_c(str, '\t');
 		if (request->no_password)
-			str_append(str, "nopassword\t");
+			str_append(str, "\tnopassword");
 		if (request->extra_fields != NULL) {
 			const char *field =
 				auth_stream_reply_export(request->extra_fields);
+
+			str_append_c(str, '\t');
 			str_append(str, field);
 		}
 	}



More information about the dovecot-cvs mailing list