Updating open-net-io to check for filenos instead of integers.

This commit is contained in:
Alex Shinn 2012-10-14 20:46:10 +09:00
parent 3d161d4d2f
commit eb88a24049

View file

@ -30,7 +30,7 @@
(let ((sock (socket (address-info-family addr) (let ((sock (socket (address-info-family addr)
(address-info-socket-type addr) (address-info-socket-type addr)
(address-info-protocol addr)))) (address-info-protocol addr))))
(if (negative? sock) (if (not (fileno? sock))
(lp (address-info-next addr)) (lp (address-info-next addr))
(cond (cond
((negative? ((negative?