diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-01-08 16:13:39 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-01-08 16:13:39 +0100 |
commit | 34a317e1ccb0053d49383eb5e2f73dec97affc4c (patch) | |
tree | ede5409ea5d5647add7fcf77c898baa547c377ad /src/dbus1-generator | |
parent | 3383f7e956fc7889e1ba3ff2998edd6a47357896 (diff) |
dbus1-generator: fix array sentinal
Add a {} sentinal entry so the config-iterator can properly iterate all
array elements. Fixes a segfault in the dbus1-generator.
Diffstat (limited to 'src/dbus1-generator')
-rw-r--r-- | src/dbus1-generator/dbus1-generator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c index 10a33efee5..ca737e3d1b 100644 --- a/src/dbus1-generator/dbus1-generator.c +++ b/src/dbus1-generator/dbus1-generator.c @@ -155,6 +155,7 @@ static int add_dbus(const char *path, const char *fname, const char *type) { { "D-BUS Service", "Exec", config_parse_string, 0, &exec }, { "D-BUS Service", "User", config_parse_string, 0, &user }, { "D-BUS Service", "SystemdService", config_parse_string, 0, &service }, + { }, }; char *p; |