Fix POP3 fetch header status view.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2011-02-20 07:53:57 +00:00
parent ae4a84c9fb
commit 65598ac67b
@@ -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;
}