process status.
* elmo-pop3.el (elmo-network-close-session): Ditto.
2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
+ * elmo-net.el (elmo-network-get-session): Changed logic for
+ checking process status.
+
* elmo-pop3.el (elmo-network-close-session): Do nothing if session
- process is nil.
+ process is nil;
+ Changed logic for checking process status.
2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
name host port user auth stream-type))
elmo-network-session-cache))
(when (and pair
- (memq (process-status
- (elmo-network-session-process-internal
- (cdr pair)))
- '(closed exit)))
+ (not (memq (process-status
+ (elmo-network-session-process-internal
+ (cdr pair)))
+ '(open run))))
(setq elmo-network-session-cache
(delq pair elmo-network-session-cache))
(elmo-network-close-session (cdr pair))
(luna-define-method elmo-network-close-session ((session elmo-pop3-session))
(when (elmo-network-session-process-internal session)
- (unless (memq (process-status
- (elmo-network-session-process-internal session))
- '(closed exit))
+ (when (memq (process-status
+ (elmo-network-session-process-internal session))
+ '(open run))
(elmo-pop3-send-command (elmo-network-session-process-internal session)
"quit")
(or (elmo-pop3-read-response