summaryrefslogtreecommitdiffhomepage
path: root/contrib/uci/patches/100-unknown-get.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/uci/patches/100-unknown-get.patch')
-rw-r--r--contrib/uci/patches/100-unknown-get.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/uci/patches/100-unknown-get.patch b/contrib/uci/patches/100-unknown-get.patch
new file mode 100644
index 0000000000..2ad385a159
--- /dev/null
+++ b/contrib/uci/patches/100-unknown-get.patch
@@ -0,0 +1,22 @@
+Index: uci.git/list.c
+===================================================================
+--- uci.git.orig/list.c 2008-08-26 12:31:34.000000000 +0200
++++ uci.git/list.c 2008-08-26 21:09:10.000000000 +0200
+@@ -398,7 +398,7 @@
+ e = uci_lookup_list(&ptr->p->sections, ptr->section);
+
+ if (!e)
+- goto abort;
++ goto notfound;
+
+ ptr->last = e;
+ ptr->s = uci_to_section(e);
+@@ -406,7 +406,7 @@
+ if (ptr->option) {
+ e = uci_lookup_list(&ptr->s->options, ptr->option);
+ if (!e)
+- goto abort;
++ goto notfound;
+
+ ptr->o = uci_to_option(e);
+ ptr->last = e;