chiark / gitweb /
bus-message: fix typo
authorTom Gundersen <teg@jklm.no>
Wed, 20 Mar 2013 23:01:14 +0000 (00:01 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 20 Mar 2013 23:01:14 +0000 (00:01 +0100)
src/libsystemd-bus/bus-message.c

index c385ef5..ec2dd07 100644 (file)
@@ -2213,8 +2213,8 @@ static int message_skip_fields(
                 } else if (bus_type_is_basic(t)) {
                         size_t align, k;
 
-                        align = bus_type_get_alignment(align);
-                        k = bus_type_get_size(align);
+                        align = bus_type_get_alignment(t);
+                        k = bus_type_get_size(t);
 
                         r = message_peek_fields(m, ri, align, k, NULL);
                         if (r < 0)