From 20e6dbd6c22d2951c190fb7a438c905f028d3448 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 6 Sep 2014 05:56:53 +0000 Subject: [PATCH] Uses new dbg functions now. FossilOrigin-Name: 4137a303def872855e883356aea15ff047babf50923ee71c437a947b195fe7c6 --- src/wtp/wtp_conf_uci.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/wtp/wtp_conf_uci.c b/src/wtp/wtp_conf_uci.c index bbcd4293..ad23f2f0 100644 --- a/src/wtp/wtp_conf_uci.c +++ b/src/wtp/wtp_conf_uci.c @@ -9,12 +9,13 @@ #include +#include + #include "capwap/capwap.h" #include "capwap/cw_log.h" #include "wtp_conf.h" - -#include +#include "capwap/cw_log.h" static struct uci_section * get_anon_section(struct uci_package * pkg, const char *type) @@ -59,7 +60,7 @@ int read_config(const char * filename){ int rc = uci_load(ctx, filename, &pkg ); if (rc == UCI_ERR_NOTFOUND){ - cw_log_debug0("Config file '%s' not found, running without config",filename); + cw_dbg(DBG_CW_INFO,"Config file '%s' not found, running without config",filename); return 1; } @@ -73,7 +74,7 @@ int read_config(const char * filename){ struct uci_section * section = get_anon_section(pkg,"wtp"); if (!section) { - cw_log_debug0("No 'wtp' section found, running withou config"); + cw_dbg(DBG_CW_INFO,"No 'wtp' section found, running withou config"); return 1; }