+2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
+       header separator into loop condition.
+
 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
 
 ;;
 
 ;;; Commentary:
-;; 
+;;
 
 ;;; Code:
-;; 
+;;
 
 (eval-when-compile (require 'cl))
 (require 'elmo-vars)
                        (nth 1
                             (insert-file-contents-as-binary
                              file nil beg
-                             (incf beg elmo-msgdb-file-header-chop-length)))))
-         (prog1 (not (search-forward "\n\n" nil t))
-           (goto-char (point-max))))))))
+                             (incf beg elmo-msgdb-file-header-chop-length))))
+                   (prog1 (not (search-forward "\n\n" nil t))
+                     (goto-char (point-max)))))))))
 
 (defsubst elmo-msgdb-create-overview-entity-from-file (number file)
   (let (insert-file-contents-pre-hook   ; To avoid autoconv-xmas...
                  (point-max)))
          (narrow-to-region (point-min) header-end)
          (elmo-msgdb-create-overview-from-buffer number size mtime))))))
-  
+
 (defun elmo-msgdb-overview-sort-by-date (overview)
   (sort overview
        (function