projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a few bugs found during code review
[project/uci.git]
/
history.c
diff --git
a/history.c
b/history.c
index
0526361
..
dcf94e0
100644
(file)
--- a/
history.c
+++ b/
history.c
@@
-82,7
+82,7
@@
static void uci_parse_history_line(struct uci_context *ctx, struct uci_package *
goto error;
if (option && !uci_validate_name(option))
goto error;
goto error;
if (option && !uci_validate_name(option))
goto error;
- if ((rename ||
!delete
) && !uci_validate_name(value))
+ if ((rename ||
(!option && !delete)
) && !uci_validate_name(value))
goto error;
if (rename)
goto error;
if (rename)