]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus: add comment to explain assert 9640/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Jul 2018 10:23:59 +0000 (12:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 18 Jul 2018 14:36:37 +0000 (16:36 +0200)
src/libsystemd/sd-bus/sd-bus.c

index 689cbf74d3cab2b6b79455aa037ab1a8b8835041..7787caaa4f184b9bf14b322c4bcf452d545b147a 100644 (file)
@@ -2897,7 +2897,7 @@ static int bus_process_internal(sd_bus *bus, bool hint_priority, int64_t priorit
 
         /* We don't allow recursively invoking sd_bus_process(). */
         assert_return(!bus->current_message, -EBUSY);
-        assert(!bus->current_slot);
+        assert(!bus->current_slot); /* This should be NULL whenever bus->current_message is */
 
         BUS_DONT_DESTROY(bus);