chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: fix match_parse for unquoted matches
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
bus-match.c
diff --git
a/src/libsystemd/sd-bus/bus-match.c
b/src/libsystemd/sd-bus/bus-match.c
index ffc97562fd8e286d12db6f6deeabf82f3c440f57..828048806ff7230b41f94a7f9c5e6e8ca3e4aecb 100644
(file)
--- a/
src/libsystemd/sd-bus/bus-match.c
+++ b/
src/libsystemd/sd-bus/bus-match.c
@@
-814,7
+814,7
@@
int bus_match_parse(
value = NULL;
- if (q[
1
] == 0)
+ if (q[
quoted
] == 0)
break;
if (q[quoted] != ',') {