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:
parent
ff0a21d667
commit
15bd294df1
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue