Diff between 527cf79f62f9cdc2df4af0fb20a84709e1166ec5 and 789eb4921f43821f4c06d8c4381454698d7b6532

Changed Files

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

Full Patch

diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 48dbac1..d8c39e5 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -232,14 +232,14 @@ static gchar *build_phonebook_path(const char *location, const char *item)
 
 	if (!g_ascii_strcasecmp(location, "INT") ||
 			!g_ascii_strcasecmp(location, "INTERNAL"))
-		path = g_strdup("telecom");
+		path = g_strdup("/telecom");
 	else if (!g_ascii_strncasecmp(location, "SIM", 3)) {
 		if (strlen(location) == 3)
 			tmp = g_strdup("SIM1");
 		else
 			tmp = g_ascii_strup(location, 4);
 
-		path = g_build_filename(tmp, "telecom", NULL);
+		path = g_build_filename("/", tmp, "telecom", NULL);
 		g_free(tmp);
 	} else
 		return NULL;