summaryrefslogtreecommitdiff
path: root/src/media-thumbnail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media-thumbnail.c')
-rwxr-xr-xsrc/media-thumbnail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c
index 8a4645f..2fb3065 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -49,7 +49,7 @@ int thumbnail_request_from_db(const char *origin_path, char *thumb_path, int max
ms_user_storage_type_e store_type = -1;
err = ms_user_get_storage_type(uid, origin_path, &store_type);
- if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {
+ if ((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {
thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
return MS_MEDIA_ERR_INVALID_PARAMETER;
}
@@ -83,7 +83,7 @@ int thumbnail_request_from_db_async(unsigned int request_id, const char *origin_
ms_user_storage_type_e store_type = -1;
err = ms_user_get_storage_type(uid, origin_path, &store_type);
- if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {
+ if ((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) {
thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
return MS_MEDIA_ERR_INVALID_PARAMETER;
}