diff --git a/lib/webfuse_provider/impl/client.c b/lib/webfuse_provider/impl/client.c index 2233cef..ca2f6e2 100644 --- a/lib/webfuse_provider/impl/client.c +++ b/lib/webfuse_provider/impl/client.c @@ -27,7 +27,7 @@ struct wfp_client struct wfp_client * wfp_impl_client_create( struct wfp_client_config * config) { - wfp_lwslog_disable(); + wfp_impl_lwslog_disable(); struct wfp_client * client = malloc(sizeof(struct wfp_client)); wfp_impl_client_protocol_init(&client->protocol, &config->provider, config->user_data); diff --git a/lib/webfuse_provider/impl/lws_log.c b/lib/webfuse_provider/impl/lws_log.c index fea9471..ca08829 100644 --- a/lib/webfuse_provider/impl/lws_log.c +++ b/lib/webfuse_provider/impl/lws_log.c @@ -4,14 +4,14 @@ #define WFP_LWSLOG_DISABLE 0 -static bool wfp_lwslog_is_diabled = false; +static bool wfp_impl_lwslog_is_diabled = false; -void wfp_lwslog_disable(void) +void wfp_impl_lwslog_disable(void) { - if (!wfp_lwslog_is_diabled) + if (!wfp_impl_lwslog_is_diabled) { lws_set_log_level(WFP_LWSLOG_DISABLE, NULL); - wfp_lwslog_is_diabled = true; + wfp_impl_lwslog_is_diabled = true; } } diff --git a/lib/webfuse_provider/impl/lws_log.h b/lib/webfuse_provider/impl/lws_log.h index f3201bd..5afa60e 100644 --- a/lib/webfuse_provider/impl/lws_log.h +++ b/lib/webfuse_provider/impl/lws_log.h @@ -6,7 +6,7 @@ extern "C" { #endif -extern void wfp_lwslog_disable(void); +extern void wfp_impl_lwslog_disable(void); #ifdef __cplusplus } diff --git a/test/webfuse_provider/tests/integration/test_integration.cc b/test/webfuse_provider/tests/integration/test_integration.cc index eb4905e..0ad29d4 100644 --- a/test/webfuse_provider/tests/integration/test_integration.cc +++ b/test/webfuse_provider/tests/integration/test_integration.cc @@ -31,7 +31,7 @@ namespace , provider(nullptr) { json_object_seed(0); - wfp_lwslog_disable(); + wfp_impl_lwslog_disable(); } protected: diff --git a/test/webfuse_provider/utils/ws_server.cc b/test/webfuse_provider/utils/ws_server.cc index 3c7a4ca..3eb8c17 100644 --- a/test/webfuse_provider/utils/ws_server.cc +++ b/test/webfuse_provider/utils/ws_server.cc @@ -146,7 +146,7 @@ WsServer::Private::Private(std::string const & protocol, int port) , is_shutdown_requested(false) , wsi_(nullptr) { - wfp_lwslog_disable(); + wfp_impl_lwslog_disable(); IServer * server = this; memset(ws_protocols, 0, sizeof(struct lws_protocols) * 2 ); diff --git a/test/webfuse_provider/utils/ws_server2.cc b/test/webfuse_provider/utils/ws_server2.cc index 8e1ef64..c27c737 100644 --- a/test/webfuse_provider/utils/ws_server2.cc +++ b/test/webfuse_provider/utils/ws_server2.cc @@ -150,7 +150,7 @@ WsServer2::Private::Private( , is_shutdown_requested(false) , wsi_(nullptr) { - wfp_lwslog_disable(); + wfp_impl_lwslog_disable(); IServer * server = this; memset(ws_protocols, 0, sizeof(struct lws_protocols) * 2 );