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){
|
||||
|
||||
|
||||
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 );
|
||||
|
Loading…
Reference in New Issue
Block a user