projects
/
platform
/
core
/
messaging
/
email-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b71722
)
Revert "Revert "not able to refesh INBOX""
57/94957/3
author
intae jeon
<intae.jeon@samsung.com>
Mon, 24 Oct 2016 01:04:46 +0000
(18:04 -0700)
committer
intae jeon
<intae.jeon@samsung.com>
Wed, 2 Nov 2016 05:13:26 +0000
(22:13 -0700)
This reverts commit
0ef29f5e7b7da6bb9ec96aea1f0ace3108271154
.
Change-Id: Ib20ba7a8852d9676e28b3977cf256d35552d7340
(cherry picked from commit
78684fc2e897ab2f6258282e99d300cf8a7f2bfd
)
email-core/email-core-imap-mailbox.c
patch
|
blob
|
history
diff --git
a/email-core/email-core-imap-mailbox.c
b/email-core/email-core-imap-mailbox.c
index
6585807
..
c5fa364
100755
(executable)
--- a/
email-core/email-core-imap-mailbox.c
+++ b/
email-core/email-core-imap-mailbox.c
@@
-734,7
+734,16
@@
int emcore_download_mailbox_list(void *mail_stream,
*count = holder.num;
*mailbox_list = (email_internal_mailbox_t*) holder.data;
- ret = true;
+
+ EM_DEBUG_LOG("count: [%d], mailbox_list[%p]", *count, *mailbox_list);
+ if (*count <= 0 || *mailbox_list == NULL) {
+ err = EMAIL_ERROR_MAILBOX_NOT_FOUND;
+ ret = false;
+ } else {
+ ret = true;
+ }
+
+
FINISH_OFF:
if (err_code)