projects
/
TransparentIRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modified IOMultiplexer (added epoll & kevent support)
[TransparentIRC.git]
/
src
/
UserClient.c
diff --git
a/src/UserClient.c
b/src/UserClient.c
index 5cc083441ec01cc81ec1dffec2d20ab7f8ec3ced..1b075069ccc2fd7f8aa2b2c7c2f98109594e6c22 100644
(file)
--- 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;
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;
if(!iofd) return;
iofd->state = IO_CONNECTED;
iofd->read_lines = 1;