Fixed bug in bind-socket.
This commit is contained in:
parent
6a794e1eba
commit
3662ea8d88
|
@ -204,7 +204,7 @@
|
|||
"bind-socket: trying to bind incompatible address to socket ~s"
|
||||
name))
|
||||
((and (= family address-family/unix)
|
||||
(> (string-length name) 107))
|
||||
(> (string-length (socket-address->unix-address name) 107)))
|
||||
(error "bind-socket: path too long" name))
|
||||
(else
|
||||
(%bind (socket->fdes sock)
|
||||
|
|
Loading…
Reference in New Issue