projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e375525
)
names: add the activator connection itself to the list of of activator names
author
Daniel Mack
<zonque@gmail.com>
Sat, 21 Dec 2013 22:58:29 +0000
(23:58 +0100)
committer
Daniel Mack
<zonque@gmail.com>
Sat, 21 Dec 2013 22:58:29 +0000
(23:58 +0100)
names.c
patch
|
blob
|
history
diff --git
a/names.c
b/names.c
index 8757e278e004ff65379232d47d04f75500685771..d56a709b60ed3a9de4bacac4faf206206d702875 100644
(file)
--- a/
names.c
+++ b/
names.c
@@
-728,11
+728,20
@@
static int kdbus_name_list_all(struct kdbus_conn *conn, u64 flags,
struct kdbus_name_entry *e;
list_for_each_entry(e, &c->names_list, conn_entry) {
+ struct kdbus_conn *a = e->activator;
+
ret = kdbus_name_list_write(conn, c, &p,
e, write);
if (ret < 0)
return ret;
+ if (a != c) {
+ ret = kdbus_name_list_write(conn, a, &p,
+ e, write);
+ if (ret < 0)
+ return ret;
+ }
+
added = true;
}
}