From bc6422cbd1dfc258fb2b4909a2a25ad356e63400 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Jan 2014 18:09:25 +0800 Subject: bus: allow omitting quotes for values in match strings dbus-daemon allows this, the dbus specification doesn't explicitly say anything about it, so let's follow dbus-daemon on this. --- src/libsystemd-bus/test-bus-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsystemd-bus/test-bus-match.c') diff --git a/src/libsystemd-bus/test-bus-match.c b/src/libsystemd-bus/test-bus-match.c index 25d2b927ed..7227e2585d 100644 --- a/src/libsystemd-bus/test-bus-match.c +++ b/src/libsystemd-bus/test-bus-match.c @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) { assert_se(match_add(&root, "path_namespace='/foo/quux'", 11) >= 0); assert_se(match_add(&root, "arg1='two'", 12) >= 0); assert_se(match_add(&root, "member='waldo',arg2path='/prefix/'", 13) >= 0); - assert_se(match_add(&root, "member='waldo',path='/foo/bar',arg3namespace='prefix'", 14) >= 0); + assert_se(match_add(&root, "member=waldo,path='/foo/bar',arg3namespace='prefix'", 14) >= 0); bus_match_dump(&root, 0); -- cgit v1.2.3-54-g00ecf