Skip to content

Commit

Permalink
POP3 mail add-on: fix fetching mail bodies without limit
Browse files Browse the repository at this point in the history
* "No limit set" is signaled by a negative value in fFetchBodyLimit
  (cf. logic in POP3Protocol::SyncMessages())
  • Loading branch information
juafromspace committed Mar 1, 2015
1 parent c4be934 commit 3d5b158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/add-ons/mail_daemon/inbound_protocols/pop3/POP3.cpp
Expand Up @@ -82,7 +82,7 @@ POP3Protocol::POP3Protocol(const BMailAccountSettings& settings)

create_directory(fDestinationDir, 0777);

fFetchBodyLimit = 0;
fFetchBodyLimit = -1;
if (fSettings.HasInt32("partial_download_limit"))
fFetchBodyLimit = fSettings.FindInt32("partial_download_limit");
}
Expand Down

0 comments on commit 3d5b158

Please sign in to comment.