From 65598ac67b20e6194872b30b469343f0e97ab8d8 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Sun, 20 Feb 2011 07:53:57 +0000 Subject: [PATCH] Fix POP3 fetch header status view. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40574 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp index 85191d6c19..e84c5e933d 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp @@ -226,6 +226,9 @@ POP3Protocol::SyncMessages() status_t POP3Protocol::FetchBody(const entry_ref& ref) { + ResetProgress("Fetch body"); + SetTotalItems(1); + status_t error = Connect(); if (error < B_OK) return error; @@ -264,6 +267,9 @@ POP3Protocol::FetchBody(const entry_ref& ref) NotifyBodyFetched(ref, &file); + ReportProgress(0, 1); + ResetProgress(); + Disconnect(); return B_OK; }