if (!auto_download) {
if (ret == TRUE)
- if (emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FINISH, mail_id, NULL, nth, 0) != 1)
+ if (!emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FINISH, mail_id, NULL, nth, 0))
EM_DEBUG_LOG(">>>>>>emcore_notify_network_event failed \n ");
else {
if (err != EMAIL_ERROR_CANCELLED)
- if (emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FAIL, mail_id, NULL, nth, err) != 1)
+ if (!emcore_notify_network_event(NOTI_DOWNLOAD_ATTACH_FAIL, mail_id, NULL, nth, err))
EM_DEBUG_LOG(">>>>>>emcore_notify_network_event failed \n ");
}
}
if (!auto_download) {
if (ret == TRUE)
- if (emcore_notify_network_event(NOTI_DOWNLOAD_BODY_FINISH, mail_id, NULL, event_handle, 0) != 0)
+ if (!emcore_notify_network_event(NOTI_DOWNLOAD_BODY_FINISH, mail_id, NULL, event_handle, 0))
EM_DEBUG_LOG(">>>>> emcore_notify_network_event failed \n ");
else
- if (emcore_notify_network_event(NOTI_DOWNLOAD_BODY_FAIL, mail_id, NULL, event_handle, err) != 0)
+ if (!emcore_notify_network_event(NOTI_DOWNLOAD_BODY_FAIL, mail_id, NULL, event_handle, err))
EM_DEBUG_LOG(">>>>> emcore_notify_network_event failed \n ");
}