Silence some url compilation warnings on systems without zlib
[bpt/emacs.git] / lisp / url / url-vars.el
index 0361e01..a34111c 100644 (file)
@@ -210,7 +210,7 @@ Should be an assoc list of headers/contents.")
 
 (defvar url-request-method nil "The method to use for the next request.")
 
-(defvar url-mime-encoding-string (and (fboundp 'zlib-decompress-region)
+(defvar url-mime-encoding-string (and (fboundp 'zlib-available-p)
                                      (zlib-available-p)
                                      "gzip")
   "String to send in the Accept-encoding: field in HTTP requests.")