initialize GDate stack variable correctly (sorry!)
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 22 Mar 2002 20:25:50 +0000 (20:25 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 22 Mar 2002 20:25:50 +0000 (20:25 +0000)
ChangeLog.claws
configure.in
src/pop.c

index 68cbda1..3a4da5c 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-22 [alfons]    0.7.4claws34
+
+       * src/pop.c
+               initialize GDate stack variable correctly (sorry!)
+
 2002-03-22 [paul]      0.7.4claws33
 
        * src/compose.c
index 20cfc1d..5261887 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws33
+EXTRA_VERSION=claws34
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 901a3b2..b2b5136 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -353,7 +353,7 @@ static gboolean should_delete(const char *uidl, gpointer data)
                tdate    = atoi(sdate);
                keep_for = atoi(state->ac_prefs->leave_time); /* FIXME: leave time should be an int */
 
-               g_date_clear(&curdate, time(NULL));
+               g_date_clear(&curdate, 1);
                g_date_set_time(&curdate, time(NULL));
                today = g_date_day_of_year(&curdate);