Mercurial > emacs
comparison lisp/net/socks.el @ 84643:9cf2bf22d7ee
(socks-open-network-stream): Signal an explicit error if the port
associated with a service string can't be found.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 19 Sep 2007 07:52:30 +0000 |
parents | 92ccd83174e6 |
children | 630c599116d6 |
comparison
equal
deleted
inserted
replaced
84642:2173cc2d1b14 | 84643:9cf2bf22d7ee |
---|---|
544 (socks-send-command proc | 544 (socks-send-command proc |
545 socks-connect-command | 545 socks-connect-command |
546 atype | 546 atype |
547 host | 547 host |
548 (if (stringp service) | 548 (if (stringp service) |
549 (socks-find-services-entry service) | 549 (or |
550 (socks-find-services-entry service) | |
551 (error "Unable to find port for service `%s'" | |
552 service)) | |
550 service)) | 553 service)) |
551 (puthash 'buffer buffer info) | 554 (puthash 'buffer buffer info) |
552 (puthash 'host host info) | 555 (puthash 'host host info) |
553 (puthash 'service host info) | 556 (puthash 'service host info) |
554 (set-process-filter proc nil) | 557 (set-process-filter proc nil) |