projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
list: remove unncessary increment of n_section (FS#1182)
[project/uci.git]
/
list.c
diff --git
a/list.c
b/list.c
index
e78012b
..
0347138
100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-175,7
+175,7
@@
static void uci_fixup_section(struct uci_context *ctx, struct uci_section *s)
break;
}
}
- sprintf(buf, "cfg%02x%04x",
++
s->package->n_section, hash % (1 << 16));
+ sprintf(buf, "cfg%02x%04x", s->package->n_section, hash % (1 << 16));
s->e.name = uci_strdup(ctx, buf);
}