diff options
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-x | server/thumb-server-internal.c | 2 |
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; |