chiark / gitweb /
core: when creating an activating busname attach all metadata fields to the messages...
[elogind.git] / src / libsystemd / sd-bus / bus-match.c
index ffc97562fd8e286d12db6f6deeabf82f3c440f57..c54ca8d71d1bee31f00422034b62ebc152e38f1f 100644 (file)
@@ -293,6 +293,9 @@ int bus_match_run(
                         r = bus_maybe_reply_error(m, r, &error_buffer);
                         if (r != 0)
                                 return r;
+
+                        if (bus && bus->match_callbacks_modified)
+                                return 0;
                 }
 
                 return bus_match_run(bus, node->next, m);
@@ -814,7 +817,7 @@ int bus_match_parse(
 
                 value = NULL;
 
-                if (q[1] == 0)
+                if (q[quoted] == 0)
                         break;
 
                 if (q[quoted] != ',') {