mirror of
https://github.com/outbackdingo/nDPId.git
synced 2026-01-27 10:19:45 +00:00
2
nio.c
2
nio.c
@@ -329,7 +329,7 @@ int nio_check(struct nio * io, int index, int event_flags)
|
||||
return NIO_ERROR_INTERNAL;
|
||||
}
|
||||
|
||||
int nio_is_valid(struct nio const * io, int index)
|
||||
int nio_is_valid(struct nio const * const io, int index)
|
||||
{
|
||||
if (index < 0 || index >= io->nready)
|
||||
return NIO_ERROR_INTERNAL;
|
||||
|
||||
Reference in New Issue
Block a user