From 89734fb6f670d967744658547293bc9d33ead25f Mon Sep 17 00:00:00 2001 From: Ted Zlatanov Date: Wed, 24 Mar 2010 20:14:42 -0500 Subject: [PATCH] Fix wrong variable name. (url-http-parse-headers): Fix wrong variable name. --- lisp/url/ChangeLog | 4 ++++ lisp/url/url-http.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index fc4bca157af..d3231672dd2 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,7 @@ +2010-03-24 Teodor Zlatanov + + * url-http.el (url-http-parse-headers): Fix wrong variable name. + 2010-03-24 Teodor Zlatanov * url-http.el (url-http-codes): New variable to hold a mapping of diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 4d734815c97..9f988beaf0a 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -486,7 +486,7 @@ should be shown to the user." (class nil) (success nil) ;; other status symbols: jewelry and luxury cars - (status-symbol (cadr (assq status-number url-http-codes)))) + (status-symbol (cadr (assq url-http-response-status url-http-codes)))) (setq class (/ url-http-response-status 100)) (url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status) (url-http-handle-cookies) -- 2.39.2