emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/url/url-http.el,v


From: Magnus Henoch
Subject: [Emacs-diffs] Changes to emacs/lisp/url/url-http.el,v
Date: Thu, 12 Oct 2006 19:59:58 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Magnus Henoch <legoscia>        06/10/12 19:59:58

Index: url-http.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/url/url-http.el,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- url-http.el 11 Oct 2006 20:58:36 -0000      1.33
+++ url-http.el 12 Oct 2006 19:59:58 -0000      1.34
@@ -123,8 +123,10 @@
            ;; like authentication.  But we use another buffer afterwards.
            (unwind-protect
                (let ((proc (url-open-stream host buf host port)))
+                ;; url-open-stream might return nil.
+                (when (processp proc)
                  ;; Drop the temp buffer link before killing the buffer.
-                 (set-process-buffer proc nil)
+                  (set-process-buffer proc nil))
                  proc)
              (kill-buffer buf)))))))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]