diff --git a/server/core/config.c b/server/core/config.c index 03196d180..f376d229e 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -324,7 +324,7 @@ int error_count = 0; is_rwsplit = true; } - char *allow_localhost_match_wildcard_host = + allow_localhost_match_wildcard_host = config_get_value(obj->parameters, "localhost_match_wildcard_host"); if (obj->element == NULL) /*< if module load failed */ diff --git a/server/modules/routing/CMakeLists.txt b/server/modules/routing/CMakeLists.txt index 1a4342b0c..7fa2bd3ae 100644 --- a/server/modules/routing/CMakeLists.txt +++ b/server/modules/routing/CMakeLists.txt @@ -5,10 +5,6 @@ if(BUILD_TESTS) install(TARGETS testroute DESTINATION modules) endif() -add_library(testroute SHARED testroute.c) -target_link_libraries(testroute log_manager utils) -install(TARGETS testroute DESTINATION modules) - add_library(schemarouter SHARED schemarouter/schemarouter.c) target_link_libraries(schemarouter log_manager utils query_classifier) install(TARGETS schemarouter DESTINATION modules)