From df37f2f683a1b8b9889c109f468c9408bb7b3061 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 11 Mar 2021 08:12:32 +0900 Subject: [PATCH] Remove the duplicated slash on the media path Change-Id: I764e79f1b1b7520b44ff011c87ec52a936c26202 Signed-off-by: DoHyun Pyun --- app/obex-event-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/obex-event-handler.c b/app/obex-event-handler.c index 1c3081d..64a201c 100644 --- a/app/obex-event-handler.c +++ b/app/obex-event-handler.c @@ -343,7 +343,7 @@ static void __bt_move_media_file(char *file_path) retm_if(!BT_SHARE_DATA_DIR, "DATA dir is NULL"); snprintf(media_file_path, BT_FILE_PATH_LEN_MAX, "%s/%s", - storage, file_path + strlen(BT_SHARE_DATA_DIR)); + storage, file_path + strlen(BT_SHARE_DATA_DIR) + 1); INFO("Media file path: %s", media_file_path); -- 2.7.4