diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-21 23:18:38 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-05-21 23:18:38 +0200 |
commit | 572481b9094f7f1fbba69f1bd0c8f7db31550b01 (patch) | |
tree | cb8a6a02aca4ea09edfdc8be3abd66305098bcc8 /src/dbus-socket.c | |
parent | b8cef44e40652e166610b0da031a9c0b13032407 (diff) |
bus_property_append_long: use signed long and 'x' in the signature for DBUS_TYPE_INT64
Diffstat (limited to 'src/dbus-socket.c')
-rw-r--r-- | src/dbus-socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-socket.c b/src/dbus-socket.c index b81569d504..7194611d65 100644 --- a/src/dbus-socket.c +++ b/src/dbus-socket.c @@ -115,8 +115,8 @@ DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMes { "org.freedesktop.systemd1.Socket", "MaxConnections", bus_property_append_unsigned, "u", &u->socket.max_connections }, { "org.freedesktop.systemd1.Socket", "NConnections", bus_property_append_unsigned, "u", &u->socket.n_connections }, { "org.freedesktop.systemd1.Socket", "NAccepted", bus_property_append_unsigned, "u", &u->socket.n_accepted }, - { "org.freedesktop.systemd1.Socket", "MessageQueueMaxMessages", bus_property_append_long,"t", &u->socket.mq_maxmsg }, - { "org.freedesktop.systemd1.Socket", "MessageQueueMessageSize", bus_property_append_long,"t", &u->socket.mq_msgsize }, + { "org.freedesktop.systemd1.Socket", "MessageQueueMaxMessages", bus_property_append_long,"x", &u->socket.mq_maxmsg }, + { "org.freedesktop.systemd1.Socket", "MessageQueueMessageSize", bus_property_append_long,"x", &u->socket.mq_msgsize }, { NULL, NULL, NULL, NULL, NULL } }; |