Fix spelling, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40835 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -29,7 +29,7 @@ DispatcherIMAPListener::DispatcherIMAPListener(MailProtocol& protocol,
|
|||||||
|
|
||||||
void
|
void
|
||||||
DispatcherIMAPListener::HeaderFetched(int32 uid, BPositionIO* data,
|
DispatcherIMAPListener::HeaderFetched(int32 uid, BPositionIO* data,
|
||||||
bool bodyIsComming)
|
bool bodyIsComing)
|
||||||
{
|
{
|
||||||
BFile* file = dynamic_cast<BFile*>(data);
|
BFile* file = dynamic_cast<BFile*>(data);
|
||||||
if (file == NULL)
|
if (file == NULL)
|
||||||
@@ -40,7 +40,7 @@ DispatcherIMAPListener::HeaderFetched(int32 uid, BPositionIO* data,
|
|||||||
|
|
||||||
fProtocol.NotifyHeaderFetched(ref, file);
|
fProtocol.NotifyHeaderFetched(ref, file);
|
||||||
|
|
||||||
if (!bodyIsComming)
|
if (!bodyIsComing)
|
||||||
fProtocol.ReportProgress(0, 1);
|
fProtocol.ReportProgress(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -407,15 +407,15 @@ FetchMessageCommand::Handle(const BString& response)
|
|||||||
BString lastLine;
|
BString lastLine;
|
||||||
fConnectionReader.GetNextLine(lastLine);
|
fConnectionReader.GetNextLine(lastLine);
|
||||||
|
|
||||||
bool bodyIsComming = true;
|
bool bodyIsComing = true;
|
||||||
if (fFetchBodyLimit >= 0 && fFetchBodyLimit <= messageSize)
|
if (fFetchBodyLimit >= 0 && fFetchBodyLimit <= messageSize)
|
||||||
bodyIsComming = false;
|
bodyIsComing = false;
|
||||||
|
|
||||||
int32 uid = fIMAPMailbox.MessageNumberToUID(message);
|
int32 uid = fIMAPMailbox.MessageNumberToUID(message);
|
||||||
if (uid >= 0)
|
if (uid >= 0)
|
||||||
fIMAPMailbox.Listener().HeaderFetched(uid, data, bodyIsComming);
|
fIMAPMailbox.Listener().HeaderFetched(uid, data, bodyIsComing);
|
||||||
|
|
||||||
if (!bodyIsComming)
|
if (!bodyIsComing)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
deleter.Detach();
|
deleter.Detach();
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public:
|
|||||||
virtual ~IMAPMailboxListener() {}
|
virtual ~IMAPMailboxListener() {}
|
||||||
|
|
||||||
virtual void HeaderFetched(int32 uid, BPositionIO* data,
|
virtual void HeaderFetched(int32 uid, BPositionIO* data,
|
||||||
bool bodyIsComming) {}
|
bool bodyIsComing) {}
|
||||||
virtual void BodyFetched(int32 uid, BPositionIO* data) {}
|
virtual void BodyFetched(int32 uid, BPositionIO* data) {}
|
||||||
|
|
||||||
virtual void NewMessagesToFetch(int32 nMessages) {}
|
virtual void NewMessagesToFetch(int32 nMessages) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user