storage_id is NULL when batch insert case.
Change-Id: Icddbef60ad00c79c7c2b6112cd7ff4ff30f43251
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
g_autofree gchar *request_path = NULL;
MSAPI_RETVM_IF(!path || strlen(path) == 0, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
- MSAPI_RETVM_IF(!storage_id || strlen(storage_id) == 0, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid storage_id");
request_path = g_canonicalize_filename(path, NULL);
MSAPI_DBG_SLOG("trimmed path[%s]", request_path);