fix use of incorrect uidl string
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 22 Mar 2002 06:08:49 +0000 (06:08 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Fri, 22 Mar 2002 06:08:49 +0000 (06:08 +0000)
ChangeLog.claws
configure.in
src/pop.c

index 0a00b25..44cacec 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-22 [alfons]    0.7.4claws31
+
+       * src/pop.c
+               fix getting uidl from incorrect string 
+               (spotted by Colin)
+
 2002-03-21 [alfons]    0.7.4claws30
 
        * src/pop.c
index 8b0dcd5..c35c4ac 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws30
+EXTRA_VERSION=claws31
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 6ea299c..901a3b2 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -346,7 +346,7 @@ static gboolean should_delete(const char *uidl, gpointer data)
 
        /* remove \r\n */
        tuidl  = g_strndup(uidl, strlen(uidl) - 2);
-       answer = g_strsplit(uidl, " ", 2);
+       answer = g_strsplit(tuidl, " ", 2);
        id     = atoi(answer[0]);
 
        if (NULL != (sdate = g_hash_table_lookup(state->uidl_table, answer[1]))) {