]> git.cworth.org Git - sup/commitdiff
fix missing part of a previous merge
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 24 Jun 2009 13:42:26 +0000 (09:42 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 24 Jun 2009 13:42:26 +0000 (09:42 -0400)
lib/sup/mbox/loader.rb

index ff41d5124cb44ac26bd47a5eb6ed5d11966b1df9..831c71705ed11f8dab9a781c323ff2e5b2fd04d3 100644 (file)
@@ -85,7 +85,7 @@ class Loader < Source
     @mutex.synchronize do
       @f.seek cur_offset
       string = ""
-      until @f.eof? || (l = @f.gets) =~ BREAK_RE
+      until @f.eof? || MBox::is_break_line?(l = @f.gets)
         string << l
       end
       self.cur_offset += string.length