]> git.eshelyaron.com Git - emacs.git/commitdiff
(open-tls-stream): Properly handle case where there is no associated
authorChong Yidong <cyd@stupidchicken.com>
Sat, 7 Apr 2007 03:52:21 +0000 (03:52 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 7 Apr 2007 03:52:21 +0000 (03:52 +0000)
buffer.

lisp/net/tls.el

index 9de74ca19d47e9e4f92bd1a6074d542795068061..ee093571decc3103ded7b179a539d0e452fd048b 100644 (file)
@@ -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))