]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a typo in url-http.el
authorEli Zaretskii <eliz@gnu.org>
Wed, 2 Oct 2019 15:24:03 +0000 (18:24 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 2 Oct 2019 15:24:03 +0000 (18:24 +0300)
* lisp/url/url-http.el (url-http-parse-headers): Fix a typo.
Reported by Mattias EngdegĂ„rd <mattiase@acm.org>.

lisp/url/url-http.el

index 31c866bd664671de0ca130e7d0f3c46960c4fbaa..0ea7e02ee7febc66a09e7c9b98e9ce901ef6a41f 100644 (file)
@@ -955,8 +955,8 @@ should be shown to the user."
        (url-mark-buffer-as-dead buffer)
       ;; Narrow the buffer for url-handle-content-transfer-encoding to
       ;; find only the headers relevant to this transaction.
-      (and (not (buffer-narrowed-p)
-                (mail-narrow-to-head)))
+      (and (not (buffer-narrowed-p))
+                (mail-narrow-to-head))
       (url-handle-content-transfer-encoding))
     (url-http-debug "Finished parsing HTTP headers: %S" success)
     (widen)