aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-04-07 03:52:21 +0000
committerChong Yidong2007-04-07 03:52:21 +0000
commit08b53f053738b723262aa120d272d0559cd7b1b8 (patch)
treecacd5f48307ff751579423d0cddc0cbf83275d1f
parent6ff11588f000ce6d1250c0a4aef76310caffa976 (diff)
downloademacs-08b53f053738b723262aa120d272d0559cd7b1b8.tar.gz
emacs-08b53f053738b723262aa120d272d0559cd7b1b8.zip
(open-tls-stream): Properly handle case where there is no associated
buffer.
-rw-r--r--lisp/net/tls.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/tls.el b/lisp/net/tls.el
index 9de74ca19d4..ee093571dec 100644
--- a/lisp/net/tls.el
+++ b/lisp/net/tls.el
@@ -142,6 +142,7 @@ Fourth arg PORT is an integer specifying a port to connect to."
142 response) 142 response)
143 (while (and process 143 (while (and process
144 (memq (process-status process) '(open run)) 144 (memq (process-status process) '(open run))
145 buffer
145 (save-excursion 146 (save-excursion
146 (set-buffer buffer) ;; XXX "blue moon" nntp.el bug 147 (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
147 (goto-char (point-min)) 148 (goto-char (point-min))