summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-04-07 03:52:21 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-04-07 03:52:21 +0000
commit08b53f053738b723262aa120d272d0559cd7b1b8 (patch)
treecacd5f48307ff751579423d0cddc0cbf83275d1f /lisp/net
parent6ff11588f000ce6d1250c0a4aef76310caffa976 (diff)
downloademacs-08b53f053738b723262aa120d272d0559cd7b1b8.tar.gz
(open-tls-stream): Properly handle case where there is no associated
buffer.
Diffstat (limited to 'lisp/net')
-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."
response)
(while (and process
(memq (process-status process) '(open run))
+ buffer
(save-excursion
(set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(goto-char (point-min))