From 2ca30f42a2f405cde5f9737e655afca5883c1731 Mon Sep 17 00:00:00 2001 From: om Date: Fri, 17 Mar 2006 01:27:29 +0000 Subject: AMD64 warning 'fix' which tested fine when I added it seems to now...stop things connecting...which is just cunning imo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3724 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 9aec909c4..49078e262 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -254,7 +254,8 @@ class ModuleSSLGnuTLS : public Module * Old: gnutls_transport_set_ptr(session->sess, (gnutls_transport_ptr_t) fd); // Give gnutls the fd for the socket. */ - gnutls_transport_set_ptr(session->sess, &fd); // Give gnutls the fd for the socket. + gnutls_transport_set_ptr(session->sess, (gnutls_transport_ptr_t) fd); // Give gnutls the fd for the socket. + // gnutls_transport_set_ptr(session->sess, &fd); // Give gnutls the fd for the socket. Handshake(session); } -- cgit v1.2.3