[dovecot-cvs] dovecot/src/deliver deliver.c,1.5,1.6

cras at dovecot.org cras at dovecot.org
Tue Apr 26 14:43:39 EEST 2005


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

Modified Files:
	deliver.c 
Log Message:
USER auth command requires now service parameter and supports also others
parameters. Fixes a crash in dovecot-auth with deliver+mysql.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- deliver.c	23 Apr 2005 17:02:40 -0000	1.5
+++ deliver.c	26 Apr 2005 11:43:37 -0000	1.6
@@ -233,8 +233,9 @@
 		return EX_TEMPFAIL;
 
 	o_stream_send_str(conn->output,
-			  t_strconcat("VERSION\t1\t0\nUSER\t1\t",
-				      destination, "\n", NULL));
+			  t_strconcat("VERSION\t1\t0\n"
+				      "USER\t1\t", destination, "\t"
+				      "service=deliver\n", NULL));
 
 	io_loop_run(ioloop);
 	return return_value;



More information about the dovecot-cvs mailing list