chiark / gitweb /
bus: it is OK to have signals with multiple parameters
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Oct 2013 20:38:47 +0000 (21:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Oct 2013 01:08:57 +0000 (02:08 +0100)
src/libsystemd-bus/bus-objects.c

index aa0be37..5867907 100644 (file)
@@ -1619,7 +1619,7 @@ static int add_object_vtable_internal(
                 case _SD_BUS_VTABLE_SIGNAL:
 
                         if (!member_name_is_valid(v->x.signal.member) ||
                 case _SD_BUS_VTABLE_SIGNAL:
 
                         if (!member_name_is_valid(v->x.signal.member) ||
-                            !signature_is_single(strempty(v->x.signal.signature), false)) {
+                            !signature_is_valid(strempty(v->x.signal.signature), false)) {
                                 r = -EINVAL;
                                 goto fail;
                         }
                                 r = -EINVAL;
                                 goto fail;
                         }