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:
09a2be5
)
disable history tracking for non-confdir files
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:05:37 +0000
(
03:05
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 30 Jan 2008 02:05:37 +0000
(
03:05
+0100)
list.c
patch
|
blob
|
history
diff --git
a/list.c
b/list.c
index fb5e686c19c25d74e060887fd94292896482b21b..18de500445990ef167963357d4f55095aa435385 100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-174,6
+174,9
@@
uci_add_history(struct uci_context *ctx, struct uci_package *p, int cmd, char *s
int size = strlen(section) + 1;
char *ptr;
+ if (!p->confdir)
+ return;
+
if (value)
size += strlen(section) + 1;