diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2016-03-23 09:37:57 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2016-03-23 09:43:25 +0900 |
commit | 7020eb25112070454fe450cab3b0b7215d8f90cc (patch) | |
tree | 4e16aa2b7521801db235736622ebb98704668b6c /server/thumb-server-internal.c | |
parent | 5ab78ec86380f306e30b6ac419a0e7bcb21dadbe (diff) | |
download | libmedia-thumbnail-7020eb25112070454fe450cab3b0b7215d8f90cc.tar.gz libmedia-thumbnail-7020eb25112070454fe450cab3b0b7215d8f90cc.tar.bz2 libmedia-thumbnail-7020eb25112070454fe450cab3b0b7215d8f90cc.zip |
Add request id to media handler for duplicated requestsubmit/tizen/20160405.001445accepted/tizen/wearable/20160405.081633accepted/tizen/tv/20160405.081600accepted/tizen/mobile/20160405.081535accepted/tizen/ivi/20160405.081652accepted/tizen/common/20160405.132318
Change-Id: I90d6103c199c4a7e209f16e1e0e6f648f488e866
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-x | server/thumb-server-internal.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c index eb1e912..270c496 100755 --- a/server/thumb-server-internal.c +++ b/server/thumb-server-internal.c @@ -635,10 +635,9 @@ int _thumbnail_get_raw_data(const char *origin_path, return MS_MEDIA_ERR_INVALID_PARAMETER; } - if (!g_file_test - (origin_path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) { - thumb_err("Original path (%s) does not exist", origin_path); - return MS_MEDIA_ERR_INVALID_PARAMETER; + if (!g_file_test(origin_path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) { + thumb_err("Original path (%s) does not exist", origin_path); + return MS_MEDIA_ERR_INVALID_PARAMETER; } int file_type = THUMB_NONE_TYPE; |