summaryrefslogtreecommitdiff
path: root/src/dbus-socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-09 19:48:02 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-09 19:48:02 +0100
commit34df5a34e1d0ac4bba453fb5f52f18a2f5f260f9 (patch)
treea8679136892e5f457a36b98c596e102c6f8ce9ca /src/dbus-socket.c
parentcc5524ecc60a83fb88cac02fe02e21cde3951a25 (diff)
drop unnecessary suffix NULs as gcc adds them anyway
Diffstat (limited to 'src/dbus-socket.c')
-rw-r--r--src/dbus-socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-socket.c b/src/dbus-socket.c
index a9cb1c38f8..3fda76db86 100644
--- a/src/dbus-socket.c
+++ b/src/dbus-socket.c
@@ -73,12 +73,12 @@ const char bus_socket_invalidating_properties[] =
"ExecStopPost\0"
"ControlPID\0"
"NAccepted\0"
- "NConnections\0"
- "\0";
+ "NConnections\0";
static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_socket_append_bind_ipv6_only, socket_address_bind_ipv6_only, SocketAddressBindIPv6Only);
DBusHandlerResult bus_socket_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) {
+
const BusProperty properties[] = {
BUS_UNIT_PROPERTIES,
{ "org.freedesktop.systemd1.Socket", "BindIPv6Only", bus_socket_append_bind_ipv6_only, "s", &u->socket.bind_ipv6_only },