changeset 84644:630c599116d6

(socks-open-network-stream): Standardize error message from previous change.
author Glenn Morris <rgm@gnu.org>
date Wed, 19 Sep 2007 07:57:47 +0000
parents 9cf2bf22d7ee
children 4236d6c01713
files lisp/net/socks.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/socks.el	Wed Sep 19 07:52:30 2007 +0000
+++ b/lisp/net/socks.el	Wed Sep 19 07:57:47 2007 +0000
@@ -548,8 +548,7 @@
 			  (if (stringp service)
 			      (or
 			       (socks-find-services-entry service)
-			       (error "Unable to find port for service `%s'"
-				      service))
+			       (error "Unknown service: %s" service))
 			    service))
       (puthash 'buffer buffer info)
       (puthash 'host host info)