diff options
Diffstat (limited to 'src/muniad.cc')
-rw-r--r-- | src/muniad.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/muniad.cc b/src/muniad.cc index b5685c2..7e260be 100644 --- a/src/muniad.cc +++ b/src/muniad.cc @@ -38,13 +38,13 @@ #include "http.h" #include "munia_proto.h" #include "hugin.hpp" -#include "taskmanager.h" +#include "nodemanager.h" static struct lws_protocols protocols[] = { // first protocol must always be HTTP handler { "http-only", callback_http, 0 }, - { "lws-task-protocol", callback_lws_task, sizeof(struct per_session_data__lws_task) }, + { "lws-node-protocol", callback_lws_node, sizeof(struct per_session_data__lws_node) }, { nullptr, nullptr, 0 } // End of list }; @@ -122,7 +122,7 @@ int main(int argc, char **argv) //_parse("+all"); - task_manager.init(db_filename); + node_manager.init(db_filename); if(!use_ssl) { |