projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff0a21d
)
(socks-open-network-stream): Signal an explicit error if the port
author
Glenn Morris
<rgm@gnu.org>
Wed, 19 Sep 2007 07:52:30 +0000
(07:52 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 19 Sep 2007 07:52:30 +0000
(07:52 +0000)
associated with a service string can't be found.
lisp/net/socks.el
patch
|
blob
|
history
diff --git
a/lisp/net/socks.el
b/lisp/net/socks.el
index 5a2364c652c4b848a5f322cee105668b0b9828fd..2c8b6dafed5f1dfc3dac238a9ffc68951cad46a4 100644
(file)
--- a/
lisp/net/socks.el
+++ b/
lisp/net/socks.el
@@
-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)