summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-convenience.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-11 18:55:34 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-12 00:12:43 +0100
commitc49b30a23583ff39daaa26696bcab478d2fee0bb (patch)
tree960176d9d201122ab61763fca610f632468a09fe /src/libsystemd-bus/bus-convenience.c
parent1823b86ebf955b737fb87372b211fa45ba799a48 (diff)
bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call()
The call is one of the most important ones we expose, where we place major emphasis on. We should make sure to give it a short, memorable name.
Diffstat (limited to 'src/libsystemd-bus/bus-convenience.c')
-rw-r--r--src/libsystemd-bus/bus-convenience.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-convenience.c b/src/libsystemd-bus/bus-convenience.c
index 4dc65b9718..9bf2e2cbe5 100644
--- a/src/libsystemd-bus/bus-convenience.c
+++ b/src/libsystemd-bus/bus-convenience.c
@@ -87,7 +87,7 @@ _public_ int sd_bus_call_method(
return r;
}
- return sd_bus_send_with_reply_and_block(bus, m, 0, error, reply);
+ return sd_bus_call(bus, m, 0, error, reply);
}
_public_ int sd_bus_reply_method_return(
@@ -422,5 +422,5 @@ _public_ int sd_bus_set_property(
if (r < 0)
return r;
- return sd_bus_send_with_reply_and_block(bus, m, 0, error, NULL);
+ return sd_bus_call(bus, m, 0, error, NULL);
}