From: wmorgan Date: Sun, 1 Apr 2007 22:49:06 +0000 (+0000) Subject: grrr X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=485ac2cf7eafe82116f1e8d3faee0aee616dc264;p=sup grrr git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@361 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/mbox/loader.rb b/lib/sup/mbox/loader.rb index 6c9c701..c96bd35 100644 --- a/lib/sup/mbox/loader.rb +++ b/lib/sup/mbox/loader.rb @@ -26,7 +26,7 @@ class Loader < Source end def check - if cur_offset > end_offset + if (cur_offset ||= start_offset) > end_offset raise OutOfSyncSourceError, "mbox file is smaller than last recorded message offset. Messages have probably been deleted by another client." end end