projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f107b5a
)
ucimap: ignore unhandled data structure changes for now
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Aug 2009 16:39:21 +0000
(18:39 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 29 Aug 2009 16:39:21 +0000
(18:39 +0200)
ucimap.c
patch
|
blob
|
history
diff --git
a/ucimap.c
b/ucimap.c
index cb86a4f34f61219645204e069245f666bfd8735a..e9423331257f3ed1e88743009b82e833f996b947 100644
(file)
--- a/
ucimap.c
+++ b/
ucimap.c
@@
-426,6
+426,9
@@
ucimap_store_section(struct uci_map *map, struct uci_package *p, void *section)
static char buf[32];
const char *str = NULL;
+ if (ucimap_is_list(om->type))
+ continue;
+
data = ucimap_get_data(sd, om);
if (!TEST_BIT(sd->cmap, i))
continue;
@@
-443,6
+446,8
@@
ucimap_store_section(struct uci_map *map, struct uci_package *p, void *section)
sprintf(buf, "%d", !!data->b);
str = buf;
break;
+ default:
+ continue;
}
ptr.value = str;