From 963028126256a19f2a9f1e7cb364aa33b1c19657 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sat, 6 Sep 2014 08:54:58 +0000 Subject: [PATCH] Removed debug printfs. FossilOrigin-Name: 4c22f205a332a88b9feb164d58ca2c2e424972e394be8e680c99dae3952c3ee7 --- src/wtp/conf_uci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wtp/conf_uci.c b/src/wtp/conf_uci.c index ad23f2f0..a4175ceb 100644 --- a/src/wtp/conf_uci.c +++ b/src/wtp/conf_uci.c @@ -41,6 +41,7 @@ static struct uci_section * get_anon_section(struct uci_package * pkg, const ch int read_config(const char * filename){ + struct uci_context * ctx; ctx = uci_alloc_context(); @@ -50,11 +51,11 @@ int read_config(const char * filename){ } struct uci_package * pkg; - if (filename == NULL){ filename = "wtp"; } + cw_dbg(DBG_ALL,"Reading config file %s",filename); int rc = uci_load(ctx, filename, &pkg );