From 4505bea714587668bcbf7a093942a847525b57ad Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 18 Feb 2013 21:36:54 +0100 Subject: use set_int when needed --- src/serv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/serv.c b/src/serv.c index 5bab0bc31b..e363eadae4 100644 --- a/src/serv.c +++ b/src/serv.c @@ -1296,7 +1296,7 @@ tcp_server (const char *name, int port) j->fd = accept_fd; j->tls_session = tls_session; - gnutls_transport_set_ptr (tls_session, accept_fd); + gnutls_transport_set_int (tls_session, accept_fd); j->handshake_ok = 0; if (verbose != 0) -- cgit v1.2.1