2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
+ * nnimap.el (nnimap-open-connection-1): Revert last change, since
+ auth-source now accepts numbers.
+
* auth-source.el (auth-source-netrc-parse): Accept a number as the port
spec, too.
(auth-source-ensure-strings): New function.
(proto-stream-always-use-starttls t)
login-result credentials)
(when nnimap-server-port
- (setq ports (append ports (list (format "%s" nnimap-server-port)))))
+ (setq ports (append ports (list nnimap-server-port))))
(destructuring-bind (stream greeting capabilities stream-type)
(open-protocol-stream
"*nnimap*" (current-buffer) nnimap-address (car (last ports))