diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-03-11 10:41:22 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-13 20:41:41 -0400 |
commit | 8085f163c50d998f3e30a6ddfc72c73d5dc57747 (patch) | |
tree | 36184a2129cd3ee2743b1815242ed7ab5c2ee0f7 /src/dbus1-generator/dbus1-generator.c | |
parent | d06441da04cd5102816858d8d1e4aa367c00156b (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.c | 2 |
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, |