0.8.11claws40
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 23 Mar 2003 14:00:34 +0000 (14:00 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 23 Mar 2003 14:00:34 +0000 (14:00 +0000)
        * src/news.c
                init news session to prevent crash when session is closed

ChangeLog.claws
configure.ac
src/news.c

index 5199642f7fd0c8d91da6ae4461199058a4239bf3..61b122733d89dc1d3d57a1ef70e41b593134db0b 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-22 [christoph] 0.8.11claws40
+
+       * src/news.c
+               init news session to prevent crash when session is closed
+
 2003-03-22 [christoph] 0.8.11claws39
 
        * src/imap.c
index 041dbcd4668cf024e2b586866683e5d36ac23275..73d5edc182eddaf18d5f800d5d02e9a332f86b3a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws39
+EXTRA_VERSION=claws40
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 40d238d39ccc18492b03953f08b26c36e0981024..ef266cd373e6e800d40f3c292ef571b1be04bf17 100644 (file)
@@ -214,11 +214,11 @@ static Session *news_session_new(const gchar *server, gushort port,
                return NULL;
 
        session = g_new(NNTPSession, 1);
+       session_init(SESSION(session));
        SESSION(session)->type             = SESSION_NEWS;
        SESSION(session)->server           = g_strdup(server);
        session->nntp_sock                 = nntp_sock;
        SESSION(session)->sock             = nntp_sock->sock;
-       SESSION(session)->last_access_time = time(NULL);
        SESSION(session)->data             = NULL;
 
        SESSION(session)->destroy          = news_session_destroy;