X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=libuci.c;h=5872ae4220a8fff2810a68aa7e83b9a97a329396;hp=5b5db54718a5bb6dc20fc52ade8404397aa6a9f3;hb=23fa73926e0871e49b15bcf9c2a87a76bc8da087;hpb=51b60a322aff3fd1045fb6c9eb289ade2de54e71 diff --git a/libuci.c b/libuci.c index 5b5db54..5872ae4 100644 --- a/libuci.c +++ b/libuci.c @@ -56,7 +56,7 @@ struct uci_context *uci_alloc_context(void) uci_list_init(&ctx->root); uci_list_init(&ctx->history_path); uci_list_init(&ctx->backends); - ctx->flags = UCI_FLAG_STRICT; + ctx->flags = UCI_FLAG_STRICT | UCI_FLAG_SAVED_HISTORY; ctx->confdir = (char *) uci_confdir; ctx->savedir = (char *) uci_savedir;