mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +00:00
typo
This commit is contained in:
parent
16cf7681f0
commit
7d0b1955a2
@ -789,7 +789,7 @@ JanetListenerState *janet_listen(JanetStream *stream, JanetListener behavior, in
|
||||
if (NULL == CreateIoCompletionPort(stream->handle, janet_vm_iocp, (ULONG_PTR) stream, 0)) {
|
||||
janet_panic("failed to listen for events");
|
||||
}
|
||||
stream->flags |= JANET_POLL_FLAG_IOCP;
|
||||
stream->flags |= JANET_STREAM_IOCP;
|
||||
}
|
||||
return state;
|
||||
}
|
||||
|
@ -502,7 +502,7 @@ typedef void *JanetAbstract;
|
||||
|
||||
#define JANET_STREAM_CLOSED 0x1
|
||||
#define JANET_STREAM_SOCKET 0x2
|
||||
#define JANET_STREAM_ICOP 0x4
|
||||
#define JANET_STREAM_IOCP 0x4
|
||||
#define JANET_STREAM_READABLE 0x200
|
||||
#define JANET_STREAM_WRITABLE 0x400
|
||||
#define JANET_STREAM_ACCEPTABLE 0x800
|
||||
|
Loading…
Reference in New Issue
Block a user