diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-25 19:48:35 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-01-25 19:48:35 +0400 |
commit | 1314a64c2626e710f2f3271729791882f5b475eb (patch) | |
tree | 0d80cbaa6ad52c224d648faefa0aec48dfdd5d0f /lisp/net/socks.el | |
parent | cda5fe80631f0697bf63c0cd5fb3fd78fab659df (diff) | |
download | emacs-1314a64c2626e710f2f3271729791882f5b475eb.tar.gz emacs-1314a64c2626e710f2f3271729791882f5b475eb.tar.bz2 emacs-1314a64c2626e710f2f3271729791882f5b475eb.zip |
* net/socks.el (socks-nslookup-host): Use string-to-number.
Diffstat (limited to 'lisp/net/socks.el')
-rw-r--r-- | lisp/net/socks.el | 2 |
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)) |