wslay: Sync with upstream 0e7d106ff
0e7d106ff8
Just a couple style fixes. Updating only so we know we don't have to review changes
since upstream development seems dormant.
This commit is contained in:
12
thirdparty/wslay/config.h
vendored
12
thirdparty/wslay/config.h
vendored
@ -1,10 +1,18 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
// -- GODOT start --
|
||||
/* This configuration file is custom written for Godot.
|
||||
* When updating the library, generate it with CMake upstream and compare
|
||||
* the contents to see if new options should be backported here.
|
||||
*/
|
||||
|
||||
// Those are handled in our SCsub.
|
||||
/* #undef HAVE_ARPA_INET_H */
|
||||
/* #undef HAVE_NETINET_IN_H */
|
||||
/* #undef HAVE_WINSOCK2_H */
|
||||
|
||||
#ifdef BIG_ENDIAN_ENABLED
|
||||
#define WORDS_BIGENDIAN
|
||||
#endif
|
||||
// -- GODOT end --
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
|
||||
2
thirdparty/wslay/wslay/wslay.h
vendored
2
thirdparty/wslay/wslay/wslay.h
vendored
@ -485,7 +485,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.
|
||||
*/
|
||||
|
||||
2
thirdparty/wslay/wslay_frame.c
vendored
2
thirdparty/wslay/wslay_frame.c
vendored
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user