fix use of incorrect uidl string
[claws.git] / src / pop.c
index 6ea299c267c3df706686b2916514a45efc903bfb..901a3b2eebe2052ad48ee5aa897e0c7142d14c3f 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]))) {