diff options
author | randeep singh <randeep.s@samsung.com> | 2018-11-29 05:17:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2018-11-29 05:17:36 +0000 |
commit | 4c8c58dc271bfb943e9689e448ef37a6529d511c (patch) | |
tree | 9a3ec84cbcc2c8196684e8e239fbef5f1eb5b805 | |
parent | d1e4bff8878d83a739d9417a96910122e2290ccd (diff) | |
parent | c0b9052d3965e44a42736dbe92588969f4c5805e (diff) | |
download | email-service-tizen_5.0.tar.gz email-service-tizen_5.0.tar.bz2 email-service-tizen_5.0.zip |
Merge "unchecked error" into tizen_5.0tizen_5.0
-rw-r--r-- | test/testapp-mail.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testapp-mail.c b/test/testapp-mail.c index 9d4002f..6fc20b3 100644 --- a/test/testapp-mail.c +++ b/test/testapp-mail.c @@ -226,7 +226,9 @@ static gboolean testapp_test_add_mail(int *result_mail_id) if (0 >= scanf("%d", &mailbox_id)) testapp_print("Invalid input. "); - email_get_mailbox_by_mailbox_id(mailbox_id, &mailbox_data); + if(email_get_mailbox_by_mailbox_id(mailbox_id, &mailbox_data) != EMAIL_ERROR_NONE){ + testapp_print("Could not get mailbox info"); + }; test_mail_data = malloc(sizeof(email_mail_data_t)); memset(test_mail_data, 0x00, sizeof(email_mail_data_t)); |