From f50855f9c8e38868f5b55ffebe81d62950f0083b Mon Sep 17 00:00:00 2001 From: Sunghyun Kwon Date: Fri, 10 May 2013 17:32:17 +0900 Subject: [PATCH] Merged the tizen_2.1_smack to tizen_2.1 --- CMakeLists.txt | 2 +- email-daemon/email-daemon-mail.c | 2 +- email-service.manifest | 4 ++++ email-service.rule | 1 + packaging/email-service.spec | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6110111..4e34ff1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/email-service.pc DESTINATION ${LIB_INSTALL_DIR # LICENSE file INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE.BSD DESTINATION /usr/share/license/email-service/LICENSE) -INSTALL(FILES ${CMAKE_SOURCE_DIR}/email-service.rule DESTINATION /etc/smack/accesses2.d/) +INSTALL(FILES ${CMAKE_SOURCE_DIR}/email-service.rule DESTINATION /opt/etc/smack/accesses.d/) INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/ DESTINATION /opt/usr/data/email/res/image FILES_MATCHING PATTERN "*.png") INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/res/ DESTINATION /opt/usr/data/email/res FILES_MATCHING PATTERN "*.sql") diff --git a/email-daemon/email-daemon-mail.c b/email-daemon/email-daemon-mail.c index f390266..4ed1b6a 100755 --- a/email-daemon/email-daemon-mail.c +++ b/email-daemon/email-daemon-mail.c @@ -1135,7 +1135,7 @@ INTERNAL_FUNC int emdaemon_update_mail(email_mail_data_t *input_mail_data, email event_data.event_param_data_4 = input_attachment_count; event_data.event_param_data_5 = input_from_eas; - if (!emcore_insert_event_for_sending_mails(&event_data, &handle, &err)) { + if (!emcore_insert_event(&event_data, &handle, &err)) { EM_DEBUG_EXCEPTION("emcore_insert_event_for_sending_mails failed [%d]", err); err = EMAIL_ERROR_NONE; goto FINISH_OFF; diff --git a/email-service.manifest b/email-service.manifest index 819b2ea..101e033 100644 --- a/email-service.manifest +++ b/email-service.manifest @@ -1,6 +1,10 @@ + +