From: Simon Peeters Date: Sun, 16 Feb 2014 02:01:17 +0000 (+0100) Subject: bus: fix match_parse for unquoted matches X-Git-Tag: v209~115 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a3e648ccbb6b4ded2a9d4a95598df156de973db1 bus: fix match_parse for unquoted matches --- diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c index ffc97562f..828048806 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] != ',') {