]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-login: "Disconnected for inactivity" should be sent as BYE.
authorTimo Sirainen <tss@iki.fi>
Thu, 1 Oct 2009 13:54:52 +0000 (09:54 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 1 Oct 2009 13:54:52 +0000 (09:54 -0400)
--HG--
branch : HEAD

src/login-common/client-common.c

index ee9fc0b2b96b1d1774ebd1d4d106704c78c4cccf..bfc04386e6fe9bea8d6b856956916cea34e4b40f 100644 (file)
@@ -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");
 }