if (g_strcmp0(transfer_info->type, TRANSFER_PUT) == 0) {
INFO("TRANSFER_PUT");
- file_path = __get_dest_file_path(transfer_info->file_path);
- DBG_SECURE("Filename[%s] FilePath[%s] Address[%s]",
- transfer_info->filename, file_path,
- transfer_info->address);
-
bt_device_rcv_noti_info_t *rcv_noti_info =
__bt_get_rcv_noti_data_by_device_address(transfer_info->address);
if (rcv_noti_info == NULL)
break;
+ file_path = __get_dest_file_path(transfer_info->file_path);
+ DBG_SECURE("Filename[%s] FilePath[%s] Address[%s]",
+ transfer_info->filename, file_path,
+ transfer_info->address);
+
if (aul_get_mime_from_file(file_path, mime_type,
BT_MIME_TYPE_MAX_LEN) == AUL_R_OK)
DBG_SECURE("mime type : %s", mime_type);