summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-match.c
diff options
context:
space:
mode:
authorSimon Peeters <peeters.simon@gmail.com>2014-02-16 03:01:17 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-16 11:24:15 -0500
commita3e648ccbb6b4ded2a9d4a95598df156de973db1 (patch)
tree49c57c01c5f38f6c3b2b92c0390a13d3568c0494 /src/libsystemd/sd-bus/bus-match.c
parente3025da104f96ab428a9121f738c6343964d5260 (diff)
bus: fix match_parse for unquoted matches
Diffstat (limited to 'src/libsystemd/sd-bus/bus-match.c')
-rw-r--r--src/libsystemd/sd-bus/bus-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index ffc97562fd..828048806f 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] != ',') {