summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-01-31 13:22:50 +0900
committerMinje ahn <minje.ahn@samsung.com>2018-01-31 06:11:14 +0000
commit5db1a5e180bf6761b3cf814d055b7ff34f20e26d (patch)
tree4bc81f44736c4343fe830934637d7c3808512e3b /server/thumb-server-internal.c
parent96113cadb625d3960d04910107bd6c51153ed420 (diff)
downloadlibmedia-thumbnail-5db1a5e180bf6761b3cf814d055b7ff34f20e26d.tar.gz
libmedia-thumbnail-5db1a5e180bf6761b3cf814d055b7ff34f20e26d.tar.bz2
libmedia-thumbnail-5db1a5e180bf6761b3cf814d055b7ff34f20e26d.zip
Thumbnail-server code refactoring
Remove the code related with agif Refactoring functions for getting media type and original w/h Remove unused dependency Change-Id: I08162ecfd41e1e3dd25833bf625d3206639d1e32 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 22a0ff8..a4b1142 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -331,7 +331,7 @@ int _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg)
thumb_path = res_msg->dst_path;
res_msg->status = MS_MEDIA_ERR_NONE;
- if (!g_file_test(origin_path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) {
+ if (!g_file_test(origin_path, G_FILE_TEST_IS_REGULAR)) {
thumb_err("origin_path does not exist in file system.");
res_msg->status = MS_MEDIA_ERR_FILE_NOT_EXIST;
return MS_MEDIA_ERR_FILE_NOT_EXIST;