[systemd-devel] [PATCH] bus: fix match_parse for unquoted matches
Simon Peeters
peeters.simon at gmail.com
Sat Feb 15 18:01:17 PST 2014
---
src/libsystemd/sd-bus/bus-match.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index ffc9756..8280488 100644
--- 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] != ',') {
--
1.8.5.4
More information about the systemd-devel
mailing list