From: Felix Fietkau Date: Sat, 2 Feb 2008 21:49:09 +0000 (+0100) Subject: more error handling for internal uci_import calls X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=bdb2bbfbe937312463763bd5ce35a7f857238081;ds=sidebyside more error handling for internal uci_import calls --- diff --git a/file.c b/file.c index afa57bf..662c97f 100644 --- a/file.c +++ b/file.c @@ -782,7 +782,7 @@ int uci_load(struct uci_context *ctx, const char *name, struct uci_package **pac file = uci_open_stream(ctx, filename, SEEK_SET, false, false); ctx->errno = 0; UCI_TRAP_SAVE(ctx, done); - uci_import(ctx, file, name, package, true); + UCI_INTERNAL(uci_import, ctx, file, name, package, true); UCI_TRAP_RESTORE(ctx); if (*package) {