modified IOMultiplexer (added epoll & kevent support)
[TransparentIRC.git] / src / UserClient.c
index 5cc083441ec01cc81ec1dffec2d20ab7f8ec3ced..1b075069ccc2fd7f8aa2b2c7c2f98109594e6c22 100644 (file)
@@ -27,7 +27,7 @@ static struct UserClient *userclients = NULL;
 
 void userclient_accepted(struct ServerSocket *server, int sockfd) {
     struct UserClient *client;
-    struct IODescriptor *iofd = iohandler_add(sockfd, IOTYPE_CLIENT, userclient_callback);
+    struct IODescriptor *iofd = iohandler_add(sockfd, IOTYPE_CLIENT, NULL, userclient_callback);
     if(!iofd) return;
     iofd->state = IO_CONNECTED;
     iofd->read_lines = 1;