aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 872ea22ce0..16d51a0258 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -827,10 +827,10 @@ the end of the document."
'text-cursor
'cursor)
'invisible t))
- (setq url-http-chunked-length (string-to-int (buffer-substring
- (match-beginning 1)
- (match-end 1))
- 16)
+ (setq url-http-chunked-length (string-to-number (buffer-substring
+ (match-beginning 1)
+ (match-end 1))
+ 16)
url-http-chunked-counter (1+ url-http-chunked-counter)
url-http-chunked-start (set-marker
(or url-http-chunked-start
@@ -904,7 +904,7 @@ the end of the document."
url-http-content-type (mail-fetch-field "content-type"))
(if (mail-fetch-field "content-length")
(setq url-http-content-length
- (string-to-int (mail-fetch-field "content-length"))))
+ (string-to-number (mail-fetch-field "content-length"))))
(widen)))
(if url-http-transfer-encoding
(setq url-http-transfer-encoding