Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
libratbox: use rb_listen(), not listen().
Browse files Browse the repository at this point in the history
Signed-off-by: Elly Fong-Jones <elly@leptoquark.net>
(cherry picked from commit 2682bc3)
  • Loading branch information
Elly Fong-Jones authored and jillest committed Apr 7, 2012
1 parent 4394794 commit edefa5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libratbox/src/gnutls.c
Expand Up @@ -352,7 +352,7 @@ rb_ssl_listen(rb_fde_t *F, int backlog, int defer_accept)
{
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;

return result;
Expand Down

0 comments on commit edefa5e

Please sign in to comment.