[geary/bug/7217-reconnect] Final touches
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/bug/7217-reconnect] Final touches
- Date: Tue, 26 Nov 2013 01:08:35 +0000 (UTC)
commit 729ae7d3712f7991a5d9cff86ccbb115b7f479fd
Author: Jim Nelson <jim yorba org>
Date: Mon Nov 25 17:08:32 2013 -0800
Final touches
.../imap-engine/imap-engine-generic-folder.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap-engine/imap-engine-generic-folder.vala
b/src/engine/imap-engine/imap-engine-generic-folder.vala
index d7f8e58..026a1f4 100644
--- a/src/engine/imap-engine/imap-engine-generic-folder.vala
+++ b/src/engine/imap-engine/imap-engine-generic-folder.vala
@@ -647,13 +647,16 @@ private class Geary.ImapEngine.GenericFolder : Geary.AbstractFolder, Geary.Folde
// reestablish connection (which requires renormalizing the remote with the local) if
// close was in error
if (remote_reason.is_error()) {
- debug("********************* REESTABLISHING CONNECTION TO %s *******************", to_string());
+ debug("Reestablishing broken connect to %s", to_string());
open_internal(null);
return;
}
+ // forced closed one way or another
+ open_count = 0;
+
// use remote_reason even if remote_folder was null; it could be that the error occurred
// while opening and remote_folder was yet unassigned ... also, need to call this every
// time, even if remote was not fully opened, as some callers rely on order of signals
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]