diff --git a/libratbox/src/gnutls.c b/libratbox/src/gnutls.c index 191ccc13..ff3e1324 100644 --- a/libratbox/src/gnutls.c +++ b/libratbox/src/gnutls.c @@ -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;