Remove not used field

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2018-07-22 16:10:31 +08:00
parent 5635739412
commit 622ff0c03f
2 changed files with 0 additions and 2 deletions

View File

@ -83,7 +83,6 @@ void uh_server_init(struct uh_server *srv, int sock)
uloop_fd_add(&srv->fd, ULOOP_READ);
INIT_LIST_HEAD(&srv->clients);
avl_init(&srv->actions, avl_strcmp, false, NULL);
srv->free = uh_server_free;
srv->set_docroot = uh_set_docroot;

View File

@ -29,7 +29,6 @@ struct uh_server {
char *docroot;
char *index_file;
int nclients;
struct avl_tree actions;
struct list_head clients;
void (*free)(struct uh_server *srv);