summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-20 13:10:12 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-20 23:00:10 +0100
commitfbfa72b0a1276366d50dce223c06efe9db9d6585 (patch)
tree72fcc96368e8c49693ca04353df06848f261ff84 /src/libsystemd-bus/sd-bus.c
parent80a46c7313b8fc4682881cb3a2ca9e4d743fcb2b (diff)
bus: introduce bus_error_is_dirty() independently of sd_bus_error_is_set()
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 70288ee131..c5cbb5682d 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -1131,7 +1131,7 @@ int sd_bus_send_with_reply_and_block(
return -EINVAL;
if (!m->header->type != SD_BUS_MESSAGE_TYPE_METHOD_CALL)
return -EINVAL;
- if (sd_bus_error_is_set(error))
+ if (sd_bus_error_is_dirty(error))
return -EINVAL;
r = sd_bus_send(bus, m, &serial);