diff options
| author | Tatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com> | 2023-09-16 17:18:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-16 17:18:00 +0900 |
| commit | dfdbc22b239311e13facdca926db0aeab9ce28e6 (patch) | |
| tree | 5252bc09e7918b71769143f965d766f203bfc34b | |
| parent | ef28a269aede860f61e737cb7d1bcddcee30a97b (diff) | |
| parent | 66048398e5da0d931659ae7e8c5e9305a26fac78 (diff) | |
Merge pull request #2094 from aria2/update-wslay
Update wslay
| -rw-r--r-- | deps/wslay/lib/includes/wslay/wslay.h | 2 | ||||
| -rw-r--r-- | deps/wslay/lib/wslay_frame.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/deps/wslay/lib/includes/wslay/wslay.h b/deps/wslay/lib/includes/wslay/wslay.h index 77a4e825..7ab85011 100644 --- a/deps/wslay/lib/includes/wslay/wslay.h +++ b/deps/wslay/lib/includes/wslay/wslay.h @@ -478,7 +478,7 @@ void wslay_event_config_set_max_recv_msg_length(wslay_event_context_ptr ctx, uint64_t val); /* - * Sets callbacks to ctx. The callbacks previouly set by this function + * Sets callbacks to ctx. The callbacks previously set by this function * or wslay_event_context_server_init() or * wslay_event_context_client_init() are replaced with callbacks. */ diff --git a/deps/wslay/lib/wslay_frame.c b/deps/wslay/lib/wslay_frame.c index 435044a3..fa065eea 100644 --- a/deps/wslay/lib/wslay_frame.c +++ b/deps/wslay/lib/wslay_frame.c @@ -109,7 +109,7 @@ ssize_t wslay_frame_send(wslay_frame_context_ptr ctx, int flags = 0; if (iocb->data_length > 0) { flags |= WSLAY_MSG_MORE; - }; + } r = ctx->callbacks.send_callback(ctx->oheadermark, (size_t)len, flags, ctx->user_data); if (r > 0) { |
