Remove the duplicated slash on the media path 28/254928/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.100003 accepted/tizen/unified/20210311.083824 submit/tizen/20210311.001718 submit/tizen_6.5/20211028.162201 tizen_6.5.m2_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 10 Mar 2021 23:12:32 +0000 (08:12 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 10 Mar 2021 23:12:32 +0000 (08:12 +0900)
Change-Id: I764e79f1b1b7520b44ff011c87ec52a936c26202
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
app/obex-event-handler.c

index 1c3081d..64a201c 100644 (file)
@@ -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);