From 4f02eee62285b7a643b2e87be8df510416a631ec Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 20 Mar 2008 17:20:45 +0000 Subject: Fix strconcat bug --- hcid/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hcid/adapter.c') 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); -- cgit