changeset 77019:5c43ac406461

(open-tls-stream): Properly handle case where there is no associated buffer.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 07 Apr 2007 03:52:21 +0000
parents 35ca16426f7c
children 15108eee2bb3
files lisp/net/tls.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tls.el	Sat Apr 07 03:51:48 2007 +0000
+++ b/lisp/net/tls.el	Sat Apr 07 03:52:21 2007 +0000
@@ -142,6 +142,7 @@
 	     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))