bus: fix sender match creation on kdbus

This commit is contained in:
Lennart Poettering
2013-12-23 21:55:27 +01:00
parent 3022d74ba5
commit d711a95778
+1 -1
View File
@@ -923,7 +923,7 @@ int bus_add_match_internal_kernel(
if (r < 0)
return r;
if (r > 0) {
if (r == 0) {
sender = c->value_str;
sender_length = strlen(sender);
sz += ALIGN8(offsetof(struct kdbus_item, str) + sender_length + 1);