diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-31 16:46:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-31 16:46:21 +0200 |
commit | 98178d3947d951ca001eaf400b5f362f458dceb5 (patch) | |
tree | a4345b294f68d22bd3eb84ca066420652e767d2f /src/libsystemd-bus/bus-internal.h | |
parent | 52f3ba915bdce4d7476c3ea53b8371deff5f567d (diff) |
bus: rename sd_bus_get_peer() to sd_bus_get_server_id()
This function always returns the server side ID. The name suggested it
was actually always the peer's ID, but that's not correct if the call is
called on a server bus context. Hence, let's correct the name a bit.
Diffstat (limited to 'src/libsystemd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd-bus/bus-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-internal.h b/src/libsystemd-bus/bus-internal.h index a11dc8c876..0149604d2a 100644 --- a/src/libsystemd-bus/bus-internal.h +++ b/src/libsystemd-bus/bus-internal.h @@ -112,7 +112,7 @@ struct sd_bus { } sockaddr; socklen_t sockaddr_size; - sd_id128_t peer; + sd_id128_t server_id; char *address; unsigned address_index; |