From: DoHyun Pyun Date: Wed, 10 Mar 2021 23:12:32 +0000 (+0900) Subject: Remove the duplicated slash on the media path X-Git-Tag: accepted/tizen/6.5/unified/20211028.100003^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.5_unified;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-share.git Remove the duplicated slash on the media path Change-Id: I764e79f1b1b7520b44ff011c87ec52a936c26202 Signed-off-by: DoHyun Pyun --- 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);