summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-20 17:20:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-20 17:20:45 +0000
commit4f02eee62285b7a643b2e87be8df510416a631ec (patch)
treef7b7055f99660d4ba1bdc037b79bf1f1d77447a4 /hcid
parent00b75a22689575b4c5d630222d54c96656df9971 (diff)
Fix strconcat bug
Diffstat (limited to 'hcid')
-rw-r--r--hcid/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 6bd17750..6deb93b5 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -745,7 +745,7 @@ static void resolve_paths(DBusMessage *msg, char **old_path, char **new_path)
}
if (old_path)
- *old_path = g_strconcat(BASE_PATH, path);
+ *old_path = g_strconcat(BASE_PATH, path, NULL);
if (new_path)
*new_path = g_strdup(path);