1 parent
bb9a1d2a34
commit
7d94ddaedf
2 files changed
-4
No files matched your search
@@ -175,7 +175,6 @@ static int uh_load_plugin(struct uh_server *srv, const char *path)
|
||||
}
|
||||
|
||||
p->next = srv->plugins;
|
||||
srv->plugins->prev = p;
|
||||
srv->plugins = p;
|
||||
|
||||
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;
|
||||
srv->handlers->prev = h;
|
||||
srv->handlers = h;
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -41,7 +41,6 @@ struct uh_plugin_handler {
|
||||
struct uh_plugin {
|
||||
struct uh_plugin_handler *h;
|
||||
void *dlh;
|
||||
struct uh_plugin *prev;
|
||||
struct uh_plugin *next;
|
||||
};
|
||||
|
||||
@@ -52,7 +51,6 @@ enum {
|
||||
|
||||
struct uh_path_handler {
|
||||
uh_path_handler_prototype handler;
|
||||
struct uh_path_handler *prev;
|
||||
struct uh_path_handler *next;
|
||||
char path[0];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user