mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-12 20:51:21 +00:00
parent
f96773410a
commit
c072b5172c
|
@ -551,7 +551,8 @@ os_socket_set_linger(bh_socket_t socket, bool is_enabled, int linger_s)
|
||||||
int
|
int
|
||||||
os_socket_get_linger(bh_socket_t socket, bool *is_enabled, int *linger_s)
|
os_socket_get_linger(bh_socket_t socket, bool *is_enabled, int *linger_s)
|
||||||
{
|
{
|
||||||
assert(time_s);
|
assert(is_enabled);
|
||||||
|
assert(linger_s);
|
||||||
|
|
||||||
struct linger linger_opts;
|
struct linger linger_opts;
|
||||||
socklen_t linger_opts_len = sizeof(linger_opts);
|
socklen_t linger_opts_len = sizeof(linger_opts);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user