dovecot-2.0: imap: Fixed a hang when trying to COPY to a nonexis...

dovecot at dovecot.org dovecot at dovecot.org
Wed Feb 2 23:59:17 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/826981b2c5c4
changeset: 12584:826981b2c5c4
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 02 23:58:32 2011 +0200
description:
imap: Fixed a hang when trying to COPY to a nonexistent mailbox.

diffstat:

 src/imap/cmd-copy.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5a6e44ca5825 -r 826981b2c5c4 src/imap/cmd-copy.c
--- a/src/imap/cmd-copy.c	Mon Jan 31 00:27:53 2011 +0200
+++ b/src/imap/cmd-copy.c	Wed Feb 02 23:58:32 2011 +0200
@@ -126,7 +126,7 @@
 	case MAILBOX_NAME_NOINFERIORS:
 		client_fail_mailbox_name_status(cmd, mailbox,
 						"TRYCREATE", status);
-		return NULL;
+		return TRUE;
 	}
 
 	if (mailbox_equals(client->mailbox, dest_ns, storage_name))


More information about the dovecot-cvs mailing list