diff options
Diffstat (limited to 'server')
-rwxr-xr-x | server/thumb-server-internal.c | 2 | ||||
-rwxr-xr-x | server/thumb-server.c | 7 |
2 files changed, 3 insertions, 6 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; diff --git a/server/thumb-server.c b/server/thumb-server.c index 4a24e0a..4bb521f 100755 --- a/server/thumb-server.c +++ b/server/thumb-server.c @@ -68,13 +68,10 @@ int main(void) g_source_set_callback(source_evas_init, _thumb_daemon_start_jobs, NULL, NULL); g_source_attach(source_evas_init, context); - thumb_dbg("************************************"); - thumb_dbg("*** Thumbnail server is running ***"); - thumb_dbg("************************************"); - + thumb_info("Thumbnail server is running"); g_main_loop_run(g_thumb_server_mainloop); - thumb_dbg("Thumbnail server is shutting down..."); + thumb_info("Thumbnail server is shutting down"); g_io_channel_shutdown(channel, FALSE, NULL); g_io_channel_unref(channel); /*close socket*/ |