#include "ssl.h"
#include "pop.h"
-#include "iochannel.h"
+#include "hcconn.h"
#include "tcp_connect.h"
#define CONFFILE SYSCONFDIR "/popproxy.conf"
}
g_message ("Received connection from %s.",
inet_ntoa (((struct sockaddr_in *) addr)->sin_addr));
- conn = hc_conn_new (fd, NULL, NULL);
+ conn = hc_conn_new (NULL, NULL);
+ hc_conn_set_driver_channel (conn, fd);
hook = ssl_hook_new (conn, address->server, address->port);
pop_hook_new (hook);
}