0.8.8claws46
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 5 Jan 2003 12:31:53 +0000 (12:31 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 5 Jan 2003 12:31:53 +0000 (12:31 +0000)
* src/imap.c
        fix crash when no imap connection could be established

ChangeLog.claws
configure.in
src/imap.c

index 210df8e..97d84a3 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-05 [christoph] 0.8.8claws46
+
+       * src/imap.c
+               fix crash when no imap connection could be established
+
 2003-01-05 [paul]      0.8.8claws45
 
        * src/mainwindow.c
 2003-01-05 [paul]      0.8.8claws45
 
        * src/mainwindow.c
index 3876cd9..a488860 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws45
+EXTRA_VERSION=claws46
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 823d3a7..5e8fd83 100644 (file)
@@ -420,11 +420,9 @@ static IMAPSession *imap_session_get(Folder *folder)
        } else {
                imap_reset_uid_lists(folder);
                session = imap_session_new(folder->account);
        } else {
                imap_reset_uid_lists(folder);
                session = imap_session_new(folder->account);
-               session->last_access_time = time(NULL);
        }
        }
-       if(!session) {
+       if(session == NULL)
                return NULL;
                return NULL;
-       }
 
        /* Make sure session is authenticated */
        if (!IMAP_SESSION(session)->authenticated)
 
        /* Make sure session is authenticated */
        if (!IMAP_SESSION(session)->authenticated)