X-Git-Url: http://git.pk910.de/?p=TransparentIRC.git;a=blobdiff_plain;f=src%2FUserClient.c;h=1b075069ccc2fd7f8aa2b2c7c2f98109594e6c22;hp=5cc083441ec01cc81ec1dffec2d20ab7f8ec3ced;hb=79b5ee62665a460214046003cdbe1b4b4f1fa39e;hpb=9d6d43ef738ec4ea700d1ab62bae892d69bede8a diff --git a/src/UserClient.c b/src/UserClient.c index 5cc0834..1b07506 100644 --- a/src/UserClient.c +++ b/src/UserClient.c @@ -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;