[geary/mjog/imap-connection-fixes: 33/42] Minor fixes



commit a3f7bfc7d4ecbc7e2ad12f44c581a5181b2c785c
Author: Michael Gratton <mike vee net>
Date:   Sun Dec 29 17:06:46 2019 +1030

    Minor fixes

 src/engine/imap-engine/imap-engine-minimal-folder.vala | 2 +-
 src/engine/imap/api/imap-session-object.vala           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/imap-engine/imap-engine-minimal-folder.vala 
b/src/engine/imap-engine/imap-engine-minimal-folder.vala
index 923b8e71..3417f1da 100644
--- a/src/engine/imap-engine/imap-engine-minimal-folder.vala
+++ b/src/engine/imap-engine/imap-engine-minimal-folder.vala
@@ -770,7 +770,7 @@ private class Geary.ImapEngine.MinimalFolder : Geary.Folder, Geary.FolderSupport
             this.remote_wait_semaphore.reset();
         }
 
-        Imap.FolderSession session = this.remote_session;
+        Imap.FolderSession? session = this.remote_session;
         this.remote_session = null;
         if (session != null) {
             session.appended.disconnect(on_remote_appended);
diff --git a/src/engine/imap/api/imap-session-object.vala b/src/engine/imap/api/imap-session-object.vala
index 248f9b70..33365b06 100644
--- a/src/engine/imap/api/imap-session-object.vala
+++ b/src/engine/imap/api/imap-session-object.vala
@@ -103,7 +103,7 @@ public abstract class Geary.Imap.SessionObject : BaseObject, Logging.Source {
     }
 
     private void on_disconnected(ClientSession.DisconnectReason reason) {
-        debug("DISCONNECTED %s", reason.to_string());
+        debug("Disconnected %s", reason.to_string());
 
         close();
         disconnected(reason);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]