mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 23:27:12 +00:00
Do not attempt to use ether_fd as valid fd if it is -1. Closes medley #450
This commit is contained in:
parent
dbbb59b30b
commit
c07618f55c
@ -979,7 +979,7 @@ int device_after_raid() {
|
||||
|
||||
|
||||
#ifdef MAIKO_ENABLE_ETHERNET
|
||||
FD_SET(ether_fd, &LispReadFds);
|
||||
if (ether_fd > 0) FD_SET(ether_fd, &LispReadFds);
|
||||
#endif /* MAIKO_ENABLE_ETHERNET */
|
||||
|
||||
#ifdef XWINDOW
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user