mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Updating open-net-io to check for filenos instead of integers.
This commit is contained in:
parent
3d161d4d2f
commit
eb88a24049
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Add table
Reference in a new issue