EM_DEBUG_EXCEPTION("emstorage_get_account_by_id failed [ %d ] ", err);
}
- if (account_tbl_array && account_tbl_array->auto_download_size == 0) {
- if (!emdaemon_finalize_sync(multi_user_name, input_account_id, 0, 0, 0, 0, true, NULL))
- EM_DEBUG_EXCEPTION("emdaemon_finalize_sync failed");
- }
+ if (!emdaemon_finalize_sync(multi_user_name, input_account_id, 0, 0, 0, 0, true, NULL))
+ EM_DEBUG_EXCEPTION("emdaemon_finalize_sync failed");
if (account_tbl_array)
emstorage_free_account(&account_tbl_array, 1, NULL);
EM_DEBUG_EXCEPTION("emcore_update_sync_status_of_account failed [%d]", err);
}
- if (account_tbl_array[account_index].auto_download_size == 0) {
- if (!emdaemon_finalize_sync(multi_user_name, account_tbl_array[account_index].account_id, 0, 0, 0, 0, true, NULL))
- EM_DEBUG_EXCEPTION("emdaemon_finalize_sync failed");
- }
+ if (!emdaemon_finalize_sync(multi_user_name, account_tbl_array[account_index].account_id, 0, 0, 0, 0, true, NULL))
+ EM_DEBUG_EXCEPTION("emdaemon_finalize_sync failed");
#ifndef __FEATURE_KEEP_CONNECTION__
if (stream)
EM_DEBUG_EXCEPTION("emstorage_get_account_list failed : [%d]", err);
}
+#if 0
for (i = 0; i < account_count; i++) {
if (!emdaemon_finalize_sync(partial_body_thd_event.multi_user_name, account_list[i].account_id, 0, 0, 0, 0, true, NULL))
EM_DEBUG_EXCEPTION("emdaemon_finalize_sync failed");
}
+#endif
if (account_list)
emstorage_free_account(&account_list, account_count, NULL);