summaryrefslogtreecommitdiff
path: root/delta.c
diff options
context:
space:
mode:
Diffstat (limited to 'delta.c')
-rw-r--r--delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/delta.c b/delta.c
index a131e3a..d8bd3a6 100644
--- a/delta.c
+++ b/delta.c
@@ -392,7 +392,7 @@ static void uci_filter_delta(struct uci_context *ctx, const char *name, const ch
match = false;
}
- if (!match) {
+ if (!match && ptr.section) {
uci_add_delta(ctx, &list, c,
ptr.section, ptr.option, ptr.value);
}