man: fix parameter controlling activatable names query for sd_bus_list_names()
The second conditional checked "acquired", but the ListActivatableNames call is governed by the "activatable" argument.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
If <parameter>acquired</parameter> is not <constant>NULL</constant>, this function calls
|
||||
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-names">
|
||||
org.freedesktop.DBus.ListNames</ulink> to retrieve the list of currently-owned names on the bus. If
|
||||
<parameter>acquired</parameter> is not <constant>NULL</constant>, the function calls
|
||||
<parameter>activatable</parameter> is not <constant>NULL</constant>, the function calls
|
||||
<ulink url="https://dbus.freedesktop.org/doc/dbus-specification.html#bus-messages-list-activatable-names">
|
||||
org.freedesktop.DBus.ListActivatableNames</ulink> to retrieve the list of all names on the bus that can
|
||||
be activated. Note that ownership of the arrays returned by <function>sd_bus_list_names()</function> in
|
||||
|
||||
Reference in New Issue
Block a user