parent
bb9a1d2a34
commit
7d94ddaedf
|
@ -175,7 +175,6 @@ static int uh_load_plugin(struct uh_server *srv, const char *path)
|
||||||
}
|
}
|
||||||
|
|
||||||
p->next = srv->plugins;
|
p->next = srv->plugins;
|
||||||
srv->plugins->prev = p;
|
|
||||||
srv->plugins = p;
|
srv->plugins = p;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -204,7 +203,6 @@ static int uh_add_path_handler(struct uh_server *srv, const char *path, uh_path_
|
||||||
}
|
}
|
||||||
|
|
||||||
h->next = srv->handlers;
|
h->next = srv->handlers;
|
||||||
srv->handlers->prev = h;
|
|
||||||
srv->handlers = h;
|
srv->handlers = h;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -41,7 +41,6 @@ struct uh_plugin_handler {
|
||||||
struct uh_plugin {
|
struct uh_plugin {
|
||||||
struct uh_plugin_handler *h;
|
struct uh_plugin_handler *h;
|
||||||
void *dlh;
|
void *dlh;
|
||||||
struct uh_plugin *prev;
|
|
||||||
struct uh_plugin *next;
|
struct uh_plugin *next;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -52,7 +51,6 @@ enum {
|
||||||
|
|
||||||
struct uh_path_handler {
|
struct uh_path_handler {
|
||||||
uh_path_handler_prototype handler;
|
uh_path_handler_prototype handler;
|
||||||
struct uh_path_handler *prev;
|
|
||||||
struct uh_path_handler *next;
|
struct uh_path_handler *next;
|
||||||
char path[0];
|
char path[0];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue