summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-31 16:46:21 +0200
committerLennart Poettering <lennart@poettering.net>2013-03-31 16:46:21 +0200
commit98178d3947d951ca001eaf400b5f362f458dceb5 (patch)
treea4345b294f68d22bd3eb84ca066420652e767d2f /src/libsystemd-bus/bus-internal.h
parent52f3ba915bdce4d7476c3ea53b8371deff5f567d (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.h2
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;