summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJongkyu Koo <jk.koo@samsung.com>2017-03-21 22:34:17 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2017-03-21 22:34:17 -0700
commit64452a4b83245ca9c5dc185bc4d1980186a84533 (patch)
tree971b840caf1b10a35953e24ee7b8b19b0fb2b915
parent2da0ca8835b90a07a5aabe58a8a1a81134d83860 (diff)
parentdaed7caf4735264c68fc15ba14727d3596082f68 (diff)
downloademail-service-64452a4b83245ca9c5dc185bc4d1980186a84533.tar.gz
email-service-64452a4b83245ca9c5dc185bc4d1980186a84533.tar.bz2
email-service-64452a4b83245ca9c5dc185bc4d1980186a84533.zip
Merge "fix Imap connection broken and mails are not syncing in custom folders" into tizen
-rwxr-xr-xemail-core/email-core-mailbox-sync.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/email-core/email-core-mailbox-sync.c b/email-core/email-core-mailbox-sync.c
index b7e2690..0aaf05c 100755
--- a/email-core/email-core-mailbox-sync.c
+++ b/email-core/email-core-mailbox-sync.c
@@ -1221,11 +1221,8 @@ static int emcore_get_uids_to_download(char *multi_user_name,
/* So checking all downloaded mail */
if (!emstorage_get_downloaded_list(multi_user_name,
input_mailbox_tbl->account_id,
- 0,
-/*
(account->incoming_server_type == EMAIL_SERVER_TYPE_POP3) ?
0 : input_mailbox_tbl->mailbox_id,
-*/
&downloaded_uids,
&downloaded_uid_count,
true,
@@ -2287,8 +2284,7 @@ INTERNAL_FUNC int emcore_sync_header(char *multi_user_name,
uid_elem = uid_list;
if (*stream && uid_elem) {
- EM_DEBUG_LOG("msgno : %d", uid_elem->msgno);
- ((MAILSTREAM *)*stream)->nmsgs = uid_elem->msgno;
+ EM_DEBUG_LOG("msgno : %d", ((MAILSTREAM *)*stream)->nmsgs);
} else {
EM_DEBUG_LOG("Uid List Null");
}