diff lisp/gnus/nnimap.el @ 110568:04b79dd168dd

nnimap.el (nnimap-open-connection): Wait for the response to STARTTLS before starting negotiation. gnus.el (gnus-local-domain): Put gnus-local-domain back again, since apparently third-party libraries depend on it.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sat, 25 Sep 2010 14:19:38 +0000
parents e07971bb896c
children b6d2a63ad993
line wrap: on
line diff
--- a/lisp/gnus/nnimap.el	Sat Sep 25 14:05:46 2010 +0000
+++ b/lisp/gnus/nnimap.el	Sat Sep 25 14:19:38 2010 +0000
@@ -310,7 +310,7 @@
 	(gnus-set-process-query-on-exit-flag (nnimap-process nnimap-object) nil)
 	(when (setq connection-result (nnimap-wait-for-connection))
 	  (when (eq nnimap-stream 'starttls)
-	    (nnimap-send-command "STARTTLS")
+	    (nnimap-command "STARTTLS")
 	    (starttls-negotiate (nnimap-process nnimap-object)))
 	  (unless (equal connection-result "PREAUTH")
 	    (if (not (setq credentials