mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
libratbox: use rb_listen(), not listen().
Signed-off-by: Elly Fong-Jones <elly@leptoquark.net>
This commit is contained in:
parent
b181432121
commit
2682bc3053
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ rb_ssl_listen(rb_fde_t *F, int backlog, int defer_accept)
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
result = listen(F->fd, backlog, defer_accept);
|
result = rb_listen(F->fd, backlog, defer_accept);
|
||||||
F->type = RB_FD_SOCKET | RB_FD_LISTEN | RB_FD_SSL;
|
F->type = RB_FD_SOCKET | RB_FD_LISTEN | RB_FD_SSL;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Reference in a new issue