mirror of
https://github.com/janet-lang/janet
synced 2025-11-07 11:03:04 +00:00
Format source.
This commit is contained in:
@@ -244,8 +244,7 @@ JanetAsyncStatus net_machine_read(JanetListenerState *s, JanetAsyncEvent event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
case JANET_ASYNC_EVENT_USER:
|
case JANET_ASYNC_EVENT_USER: {
|
||||||
{
|
|
||||||
state->flags = 0;
|
state->flags = 0;
|
||||||
int32_t chunk_size = state->bytes_left > JANET_NET_CHUNKSIZE ? JANET_NET_CHUNKSIZE : state->bytes_left;
|
int32_t chunk_size = state->bytes_left > JANET_NET_CHUNKSIZE ? JANET_NET_CHUNKSIZE : state->bytes_left;
|
||||||
state->wbuf.len = (ULONG) chunk_size;
|
state->wbuf.len = (ULONG) chunk_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user