summaryrefslogtreecommitdiff
path: root/lisp/net/socks.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/socks.el')
-rw-r--r--lisp/net/socks.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/socks.el b/lisp/net/socks.el
index 75b0ebe55ff..415397c4171 100644
--- a/lisp/net/socks.el
+++ b/lisp/net/socks.el
@@ -648,7 +648,7 @@ version.")
(progn
(setq res (buffer-substring (match-beginning 2)
(match-end 2))
- res (mapcar 'string-to-int (split-string res "\\.")))))
+ res (mapcar 'string-to-number (split-string res "\\.")))))
(kill-buffer (current-buffer)))
res)
host))