]> git.ipfire.org Git - thirdparty/systemd.git/commit
bus-driverd: Fix return code in driver_request_name
authorLukasz Skalski <l.skalski@partner.samsung.com>
Tue, 17 Dec 2013 16:31:46 +0000 (17:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Dec 2013 19:37:24 +0000 (20:37 +0100)
commit3263ef39b89080cacccaf9b7b36675490a282f2d
tree6fc5f4834e54f66c69183e3059fbccaa2f9bea76
parenta69f4254a82765cd0c7f155d5dc86e0768ea0ef3
bus-driverd: Fix return code in driver_request_name

RequestName return codes should be consistent with Dbus Specification.

VALUE - DESCRIPTION
1-The caller is now the primary owner of the name, replacing any previous owner,
2-The name already had an owner (QUEUE flag was not specified),
3-The name already has an owner (QUEUE flag was specified),
4-Application trying to request ownership of a name is already the owner of it.
src/bus-driverd/bus-driverd.c