more smaller cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
740f33ac12
commit
a74857e73c
1 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ Where ***connection_list*** is a list of ***connection_entries*** like this:
|
||||||
int type;
|
int type;
|
||||||
};
|
};
|
||||||
|
|
||||||
The ***conn.open*** function can add or remove entries from the list.
|
The ***conn_open*** function can add or remove entries from the list.
|
||||||
Whether the list is an array, linked list, hash or whatever may be implementation specific.
|
Whether the list is an array, linked list, hash or whatever may be implementation specific.
|
||||||
|
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ Having done this, our main loop now looks pretty simple, doesn't it?
|
||||||
changed_events = poll_or_select(&poll_or_select_struct);
|
changed_events = poll_or_select(&poll_or_select_struct);
|
||||||
|
|
||||||
for(event = changed_events; event != NULL; event = event->next) {
|
for(event = changed_events; event != NULL; event = event->next) {
|
||||||
find_handler(event->fd, &connection_list);
|
exec_handler(event->fd, &connection_list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue