summaryrefslogtreecommitdiff
path: root/src/media-thumbnail.c
diff options
context:
space:
mode:
authorHaejeong Kim <backto.kim@samsung.com>2017-05-18 06:00:10 (GMT)
committerHaejeong Kim <backto.kim@samsung.com>2017-05-18 06:00:10 (GMT)
commita7da43c015a4a553c0e1ddd5c569ee09b96bcb01 (patch)
tree2d3efb236f120a6292ceef5f124fd1f61795ec28 /src/media-thumbnail.c
parent89ff1f92c8435282d5dafafccd0eedd9d2f06da4 (diff)
downloadlibmedia-thumbnail-a7da43c015a4a553c0e1ddd5c569ee09b96bcb01.zip
libmedia-thumbnail-a7da43c015a4a553c0e1ddd5c569ee09b96bcb01.tar.gz
libmedia-thumbnail-a7da43c015a4a553c0e1ddd5c569ee09b96bcb01.tar.bz2
Add thumb_err_slog() and apply itrefs/changes/82/129782/1
Change-Id: I092b4dc7a2a36712119bfe491bbe831c0ee5708e
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 4792ac1..d18ee5d 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -56,7 +56,7 @@ int thumbnail_request_from_db_with_size(const char *origin_path, char *thumb_pat
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))) {
- thumb_err("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
+ thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
return MS_MEDIA_ERR_INVALID_PARAMETER;
}
@@ -111,7 +111,7 @@ int thumbnail_request_from_db_async(unsigned int request_id, const char *origin_
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))) {
- thumb_err("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
+ thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type);
return MS_MEDIA_ERR_INVALID_PARAMETER;
}