projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9387bce
)
more error handling for internal uci_import calls
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 21:49:09 +0000
(22:49 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 21:49:09 +0000
(22:49 +0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index afa57bfcbca66d0ab7f4dcc61f13d22fda24d390..662c97f5b003024fde65f12bea538fdb14e401f2 100644
(file)
--- 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) {