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;