Removed debug printfs.
FossilOrigin-Name: 4c22f205a332a88b9feb164d58ca2c2e424972e394be8e680c99dae3952c3ee7
This commit is contained in:
parent
05e4a38c66
commit
9630281262
@ -41,6 +41,7 @@ static struct uci_section * get_anon_section(struct uci_package * pkg, const ch
|
|||||||
|
|
||||||
int read_config(const char * filename){
|
int read_config(const char * filename){
|
||||||
|
|
||||||
|
|
||||||
struct uci_context * ctx;
|
struct uci_context * ctx;
|
||||||
|
|
||||||
ctx = uci_alloc_context();
|
ctx = uci_alloc_context();
|
||||||
@ -51,10 +52,10 @@ int read_config(const char * filename){
|
|||||||
|
|
||||||
struct uci_package * pkg;
|
struct uci_package * pkg;
|
||||||
|
|
||||||
|
|
||||||
if (filename == NULL){
|
if (filename == NULL){
|
||||||
filename = "wtp";
|
filename = "wtp";
|
||||||
}
|
}
|
||||||
|
cw_dbg(DBG_ALL,"Reading config file %s",filename);
|
||||||
|
|
||||||
|
|
||||||
int rc = uci_load(ctx, filename, &pkg );
|
int rc = uci_load(ctx, filename, &pkg );
|
||||||
|
Loading…
Reference in New Issue
Block a user