summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-17 01:27:29 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-17 01:27:29 +0000
commit2ca30f42a2f405cde5f9737e655afca5883c1731 (patch)
treee231efa81970a751344f8a296375cab6ba54b181
parent1667f43351b4f4a6dc1b7a96d3a68352feba2cdb (diff)
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
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}