Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
If a message needs to be copied but can't be fetched, consider it a f…
Browse files Browse the repository at this point in the history
…ailure.
  • Loading branch information
rgrove committed Jun 27, 2011
1 parent 5bcc6b0 commit 4d41748
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/larch.rb
Expand Up @@ -215,7 +215,9 @@ def copy_messages(mailbox_from, mailbox_to)
end

begin
next unless msg = mailbox_from.peek(guid)
unless msg = mailbox_from.peek(guid)
@failed += 1
end

if msg.envelope.from
env_from = msg.envelope.from.first
Expand Down

0 comments on commit 4d41748

Please sign in to comment.