retrieve a whole greeting message.
+2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-imap4.el (elmo-network-initialize-session): Check to
+ retrieve a whole greeting message.
+
2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
;; Skip garbage output from process before greeting.
(while (and (memq (process-status process) '(open run))
(goto-char (point-max))
- (forward-line -1)
- (not (elmo-imap4-parse-greeting)))
+ (or (/= (forward-line -1) 0)
+ (not (elmo-imap4-parse-greeting))))
(accept-process-output process 1))
(erase-buffer)
(set-process-filter process 'elmo-imap4-arrival-filter)