diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-05-15 17:54:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-05-15 18:09:20 +0200 |
commit | 7e28adeb63818ee96dac015c0766be461e13fb64 (patch) | |
tree | 376bd3d4183ae2c8dfe6ad69c45b3181b95f13c5 /src | |
parent | b7a2bd82702a30e8f61097235515766df21e74b4 (diff) |
sd-bus: make sure we properly handle NULL callback functions
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd/sd-bus/bus-match.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/sd-bus/bus-match.c index 3391b1a1b6..9e0769caa6 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; |