[dovecot-cvs] dovecot/src/imap main.c,1.70,1.71

cras at dovecot.org cras at dovecot.org
Tue Feb 14 19:23:00 EET 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv2287

Modified Files:
	main.c 
Log Message:
PREAUTH banner should show the capability from capability_string in case
some plugins had changed that already.



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- main.c	14 Jan 2006 18:47:21 -0000	1.70
+++ main.c	14 Feb 2006 17:22:58 -0000	1.71
@@ -186,7 +186,8 @@
         o_stream_cork(client->output);
 	if (IS_STANDALONE()) {
 		client_send_line(client, t_strconcat(
-			"* PREAUTH [CAPABILITY "CAPABILITY_STRING"] "
+			"* PREAUTH [CAPABILITY ",
+			str_c(capability_string), "] "
 			"Logged in as ", user, NULL));
 	} else if (getenv("IMAPLOGINTAG") != NULL) {
 		/* Support for mailfront */



More information about the dovecot-cvs mailing list