diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-02-02 22:47:00 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-02-02 22:47:00 +0100 |
commit | 9387bced4effec755ccd2a5cdb52c00d0c45990b (patch) | |
tree | ea876e34d2b5d990e31b73b8b1ae7be26aeabfd3 /list.c | |
parent | b69b459ecce221f92235d0def138ff4af3c22543 (diff) | |
download | uci-9387bced4effec755ccd2a5cdb52c00d0c45990b.tar.gz |
add import merging functionality, fix error handling in uci_import
Diffstat (limited to 'list.c')
-rw-r--r-- | list.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -455,6 +455,8 @@ int uci_set(struct uci_context *ctx, struct uci_package *p, char *section, char if (!e) goto notfound; o = uci_to_option(e); + } else if (internal && ctx->pctx) { + ctx->pctx->section = s; } /* |