Better error message for socket-connect
This commit is contained in:
parent
ca97d21195
commit
37b31fc65a
|
@ -24,7 +24,7 @@
|
||||||
(service-info (cadr args) "tcp")))
|
(service-info (cadr args) "tcp")))
|
||||||
(else
|
(else
|
||||||
(error
|
(error
|
||||||
"socket-connect: bad arg ~s"
|
"socket-connect: bad port arg ~s"
|
||||||
args)))))
|
args)))))
|
||||||
(internet-address->socket-address host port)))
|
(internet-address->socket-address host port)))
|
||||||
((= protocol-family
|
((= protocol-family
|
||||||
|
|
Loading…
Reference in New Issue