parent
5635739412
commit
622ff0c03f
|
@ -83,7 +83,6 @@ void uh_server_init(struct uh_server *srv, int sock)
|
||||||
uloop_fd_add(&srv->fd, ULOOP_READ);
|
uloop_fd_add(&srv->fd, ULOOP_READ);
|
||||||
|
|
||||||
INIT_LIST_HEAD(&srv->clients);
|
INIT_LIST_HEAD(&srv->clients);
|
||||||
avl_init(&srv->actions, avl_strcmp, false, NULL);
|
|
||||||
|
|
||||||
srv->free = uh_server_free;
|
srv->free = uh_server_free;
|
||||||
srv->set_docroot = uh_set_docroot;
|
srv->set_docroot = uh_set_docroot;
|
||||||
|
|
|
@ -29,7 +29,6 @@ struct uh_server {
|
||||||
char *docroot;
|
char *docroot;
|
||||||
char *index_file;
|
char *index_file;
|
||||||
int nclients;
|
int nclients;
|
||||||
struct avl_tree actions;
|
|
||||||
struct list_head clients;
|
struct list_head clients;
|
||||||
|
|
||||||
void (*free)(struct uh_server *srv);
|
void (*free)(struct uh_server *srv);
|
||||||
|
|
Loading…
Reference in New Issue