dovecot-1.2: IDLE: Check DONE case-insensitively.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 3 01:32:01 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/3a4bed08b59d
changeset: 9012:3a4bed08b59d
user:      Timo Sirainen <tss at iki.fi>
date:      Sat May 02 18:31:51 2009 -0400
description:
IDLE: Check DONE case-insensitively.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/cmd-idle.c |    2 +-

diffs (12 lines):

diff -r da37aa38ca89 -r 3a4bed08b59d src/imap/cmd-idle.c
--- a/src/imap/cmd-idle.c	Sat May 02 14:41:31 2009 -0400
+++ b/src/imap/cmd-idle.c	Sat May 02 18:31:51 2009 -0400
@@ -88,7 +88,7 @@ static void idle_client_input(struct cmd
 		if (client->input_skip_line)
 			client->input_skip_line = FALSE;
 		else {
-			idle_finish(ctx, strcmp(line, "DONE") == 0, TRUE);
+			idle_finish(ctx, strcasecmp(line, "DONE") == 0, TRUE);
 			client_continue_pending_input(&client);
 			break;
 		}


More information about the dovecot-cvs mailing list