chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reject invalid quoted strings
[elogind.git]
/
src
/
shared
/
condition-util.c
diff --git
a/src/shared/condition-util.c
b/src/shared/condition-util.c
index 928edeeb9dbc9d7dfe5f1bbf5d0bf2fa88bdadf2..f88ddc19e29461e02d05b00639d8c7bbc9d789d1 100644
(file)
--- a/
src/shared/condition-util.c
+++ b/
src/shared/condition-util.c
@@
-74,7
+74,8
@@
void condition_free_list(Condition *first) {
}
bool condition_test_kernel_command_line(Condition *c) {
}
bool condition_test_kernel_command_line(Condition *c) {
- char *line, *w, *state, *word = NULL;
+ char *line, *word = NULL;
+ const char *w, *state;
bool equal;
int r;
size_t l, pl;
bool equal;
int r;
size_t l, pl;