* elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
authorkaoru <kaoru>
Mon, 21 Aug 2000 08:35:26 +0000 (08:35 +0000)
committerkaoru <kaoru>
Mon, 21 Aug 2000 08:35:26 +0000 (08:35 +0000)
wrong-type-argument error when auth is nil.

elmo/ChangeLog
elmo/elmo-imap4.el

index ee6ab9c..496031e 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
+
+       * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
+       wrong-type-argument error when auth is nil.
+
 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
index f490479..4c8a40b 100644 (file)
@@ -1408,7 +1408,7 @@ Return nil if connection failed."
     (make-local-variable 'elmo-imap4-password-key)
     (setq elmo-imap4-password-key (format "IMAP4:%s/%s@%s:%d"
                                          user
-                                         (symbol-name (or auth "plain"))
+                                         (symbol-name (or auth 'plain))
                                          host
                                          port
                                          (elmo-network-stream-type-spec-string