summaryrefslogtreecommitdiff
path: root/email-daemon/email-daemon-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'email-daemon/email-daemon-event.c')
-rw-r--r--email-daemon/email-daemon-event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/email-daemon/email-daemon-event.c b/email-daemon/email-daemon-event.c
index e973dfb..e8b190d 100644
--- a/email-daemon/email-daemon-event.c
+++ b/email-daemon/email-daemon-event.c
@@ -1405,7 +1405,9 @@ static int event_handler_EMAIL_EVENT_DOWNLOAD_ATTACHMENT(char *multi_user_name,
if (!emnetwork_check_network_status(&err)) {
EM_DEBUG_EXCEPTION("emnetwork_check_network_status failed [%d]", err);
- emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FAIL, mail_id, NULL, attachment_no, err);
+ if(!emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FAIL, mail_id, NULL, attachment_no, err)){
+ EM_DEBUG_EXCEPTION("emcore_notify_network_event[NOTI_DOWNLOAD_ATTACH_FAIL] Failed >>>>");
+ }
} else {
#ifdef __ATTACHMENT_OPTI__
if (!emcore_download_attachment_bulk(account_id, mail_id, attachment_no, handle_to_be_published, &err))