]> pilppa.com Git - uci.git/commitdiff
fix updated parse_tuple function
authorFelix Fietkau <nbd@openwrt.org>
Tue, 29 Jan 2008 18:19:53 +0000 (19:19 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 29 Jan 2008 18:19:53 +0000 (19:19 +0100)
util.c

diff --git a/util.c b/util.c
index ddb13317f9b78c2cccf2f61d0fbfee3223e3e11e..28cc5df2250c4b7b7d51350b45f6e98b293e52c7 100644 (file)
--- a/util.c
+++ b/util.c
@@ -97,6 +97,7 @@ lastval:
                last++;
                if (!*last)
                        goto error;
+               *value = last;
        }
 
        if (*section && !uci_validate_name(*section))