[systemd-commits] src/libsystemd
Lennart Poettering
lennart at kemper.freedesktop.org
Thu May 15 09:09:31 PDT 2014
src/libsystemd/sd-bus/bus-match.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7e28adeb63818ee96dac015c0766be461e13fb64
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:54:32 2014 +0200
sd-bus: make sure we properly handle NULL callback functions
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c
index 3391b1a..9e0769c 100644
--- a/src/libsystemd/sd-bus/bus-match.c
+++ b/src/libsystemd/sd-bus/bus-match.c
@@ -289,7 +289,7 @@ int bus_match_run(
return r;
/* Run the callback. And then invoke siblings. */
- if (node->leaf.callback) {
+ if (node->leaf.callback->callback) {
_cleanup_bus_error_free_ sd_bus_error error_buffer = SD_BUS_ERROR_NULL;
sd_bus_slot *slot;
More information about the systemd-commits
mailing list