dovecot-2.1: pop3c: "TOP msgnum 0" was missing the 0 parameter.

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 10 09:53:20 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/0b59dbb1a288
changeset: 14406:0b59dbb1a288
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 10 09:52:35 2012 +0300
description:
pop3c: "TOP msgnum 0" was missing the 0 parameter.

diffstat:

 src/lib-storage/index/pop3c/pop3c-mail.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 35e232e961d3 -r 0b59dbb1a288 src/lib-storage/index/pop3c/pop3c-mail.c
--- a/src/lib-storage/index/pop3c/pop3c-mail.c	Tue Apr 10 09:52:00 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-mail.c	Tue Apr 10 09:52:35 2012 +0300
@@ -113,7 +113,7 @@
 		if (get_body || (capa & POP3C_CAPABILITY_TOP) == 0)
 			cmd = t_strdup_printf("RETR %u\r\n", _mail->seq);
 		else
-			cmd = t_strdup_printf("TOP %u\r\n", _mail->seq);
+			cmd = t_strdup_printf("TOP %u 0\r\n", _mail->seq);
 		if (pop3c_client_cmd_stream(mbox->client, cmd,
 					    &input, &error) < 0) {
 			mail_storage_set_error(mbox->box.storage,


More information about the dovecot-cvs mailing list