1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

* net/socks.el (socks-nslookup-host): Use string-to-number.

This commit is contained in:
Dmitry Antipov 2013-01-25 19:48:35 +04:00
parent cda5fe8063
commit 1314a64c26
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
* net/socks.el (socks-nslookup-host): Use string-to-number.
2013-01-25 Michael Albinus <michael.albinus@gmx.de>
* autorevert.el (auto-revert-remote-files)

View File

@ -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))