Use the null hook instead of the ssl hook.
[cascardo/rnetproxy.git] / popproxy.c
index 3882f75..4161b92 100644 (file)
@@ -28,7 +28,6 @@
 #include "log.h"
 #include "nethook.h"
 #include "null.h"
-#include "ssl.h"
 #include "pop.h"
 
 #include "hcconn.h"
@@ -56,7 +55,7 @@ void new_client (int fd, struct sockaddr* addr, socklen_t saddr, gpointer data)
              inet_ntoa (((struct sockaddr_in *) addr)->sin_addr));
   conn = hc_conn_new (NULL, NULL);
   hc_conn_set_driver_channel (conn, fd);
-  hook = ssl_hook_new (conn, address->server, address->port);
+  hook = null_hook_new (conn, address->server);
   pop_hook_new (hook);
 }