mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 08:24:08 +01:00
libratbox: gnutls: we want to pass F, not F->fd to rb_listen()
This commit is contained in:
parent
cd492e44b5
commit
fab6f9e80e
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ rb_ssl_listen(rb_fde_t *F, int backlog, int defer_accept)
|
|||
{
|
||||
int result;
|
||||
|
||||
result = rb_listen(F->fd, backlog, defer_accept);
|
||||
result = rb_listen(F, backlog, defer_accept);
|
||||
F->type = RB_FD_SOCKET | RB_FD_LISTEN | RB_FD_SSL;
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue