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:
@@ -226,6 +226,9 @@ POP3Protocol::SyncMessages()
|
|||||||
status_t
|
status_t
|
||||||
POP3Protocol::FetchBody(const entry_ref& ref)
|
POP3Protocol::FetchBody(const entry_ref& ref)
|
||||||
{
|
{
|
||||||
|
ResetProgress("Fetch body");
|
||||||
|
SetTotalItems(1);
|
||||||
|
|
||||||
status_t error = Connect();
|
status_t error = Connect();
|
||||||
if (error < B_OK)
|
if (error < B_OK)
|
||||||
return error;
|
return error;
|
||||||
@@ -264,6 +267,9 @@ POP3Protocol::FetchBody(const entry_ref& ref)
|
|||||||
|
|
||||||
NotifyBodyFetched(ref, &file);
|
NotifyBodyFetched(ref, &file);
|
||||||
|
|
||||||
|
ReportProgress(0, 1);
|
||||||
|
ResetProgress();
|
||||||
|
|
||||||
Disconnect();
|
Disconnect();
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user