From: Timo Sirainen Date: Tue, 10 Apr 2012 06:52:35 +0000 (+0300) Subject: pop3c: "TOP msgnum 0" was missing the 0 parameter. X-Git-Tag: 2.1.5~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0a996c22ebe39dcfe5cb84c8fd2f22ef5ce9d8;p=thirdparty%2Fdovecot%2Fcore.git pop3c: "TOP msgnum 0" was missing the 0 parameter. --- diff --git a/src/lib-storage/index/pop3c/pop3c-mail.c b/src/lib-storage/index/pop3c/pop3c-mail.c index a7d0729fbe..90e7de7974 100644 --- a/src/lib-storage/index/pop3c/pop3c-mail.c +++ b/src/lib-storage/index/pop3c/pop3c-mail.c @@ -113,7 +113,7 @@ pop3c_mail_get_stream(struct mail *_mail, bool get_body, 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,