summaryrefslogtreecommitdiff
path: root/src/dbus1-generator/dbus1-generator.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-03-11 10:41:22 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-13 20:41:41 -0400
commit8085f163c50d998f3e30a6ddfc72c73d5dc57747 (patch)
tree36184a2129cd3ee2743b1815242ed7ab5c2ee0f7 /src/dbus1-generator/dbus1-generator.c
parentd06441da04cd5102816858d8d1e4aa367c00156b (diff)
util: allow strappenda to take any number of args
This makes strappenda3 redundant, so we remove its usage and definition. Add a few tests along the way for sanity.
Diffstat (limited to 'src/dbus1-generator/dbus1-generator.c')
-rw-r--r--src/dbus1-generator/dbus1-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus1-generator/dbus1-generator.c b/src/dbus1-generator/dbus1-generator.c
index dcfceecf63..e1ffc5515f 100644
--- a/src/dbus1-generator/dbus1-generator.c
+++ b/src/dbus1-generator/dbus1-generator.c
@@ -169,7 +169,7 @@ static int add_dbus(const char *path, const char *fname, const char *type) {
assert(path);
assert(fname);
- p = strappenda3(path, "/", fname);
+ p = strappenda(path, "/", fname);
r = config_parse(NULL, p, NULL,
"D-BUS Service\0",
config_item_table_lookup, table,