Diff between 1f4a67568ce9500c2ca977dd067b8408d09afa28 and f3eeb2c93f8e3a2460fca3db48f390d1574d9bdc

Changed Files

File Additions Deletions Status
obexd/client/pbap.c +1 -1 modified

Full Patch

diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index b17b4f4..6444605 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -528,7 +528,7 @@ static DBusMessage *pull_phonebook(struct pbap_data *pbap,
 	DBusMessage *reply;
 	GError *err = NULL;
 
-	name = g_strconcat(pbap->path, ".vcf", NULL);
+	name = g_strconcat(g_path_skip_root(pbap->path), ".vcf", NULL);
 
 	transfer = obc_transfer_get("x-bt/phonebook", name, targetfile, &err);
 	if (transfer == NULL) {