1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(socks-open-network-stream): Signal an explicit error if the port

associated with a service string can't be found.
This commit is contained in:
Glenn Morris 2007-09-19 07:52:30 +00:00
parent ff0a21d667
commit 15bd294df1

View file

@ -546,7 +546,10 @@ version.")
atype
host
(if (stringp service)
(socks-find-services-entry service)
(or
(socks-find-services-entry service)
(error "Unable to find port for service `%s'"
service))
service))
(puthash 'buffer buffer info)
(puthash 'host host info)