diff lisp/net/socks.el @ 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 716b4c75ab5f
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)