dovecot-2.0: imap-login: "Disconnected for inactivity" should be...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 1 16:55:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/22f1076b3d03
changeset: 9961:22f1076b3d03
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 01 09:54:52 2009 -0400
description:
imap-login: "Disconnected for inactivity" should be sent as BYE.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/login-common/client-common.c |    2 +-

diffs (12 lines):

diff -r aaf93388d061 -r 22f1076b3d03 src/login-common/client-common.c
--- a/src/login-common/client-common.c	Wed Sep 30 19:14:01 2009 -0400
+++ b/src/login-common/client-common.c	Thu Oct 01 09:54:52 2009 -0400
@@ -24,7 +24,7 @@ static unsigned int clients_count = 0;
 
 static void client_idle_disconnect_timeout(struct client *client)
 {
-	client_send_line(client, CLIENT_CMD_REPLY_BAD,
+	client_send_line(client, CLIENT_CMD_REPLY_BYE,
 			 "Disconnected for inactivity.");
 	client_destroy(client, "Disconnected: Inactivity");
 }


More information about the dovecot-cvs mailing list