apply fix by Oliver for selective download (because of changed semantics in pop.c)
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 3 Mar 2002 15:34:53 +0000 (15:34 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 3 Mar 2002 15:34:53 +0000 (15:34 +0000)
ChangeLog.claws
configure.in
src/pop.c

index 43c3aa3..180e4fa 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-03 [alfons]    0.7.2claws29
+
+       * src/pop.c
+               merge fix by Oliver Haertel for selective
+               download buglet
+
 2002-03-03 [paul]      0.7.2claws28
        
        * sync with sylpheed 0.7.3
index 64f74e5..b687d22 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws28
+EXTRA_VERSION=claws29
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 43ed308..e5d4498 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -481,7 +481,9 @@ gint pop3_delete_recv(SockInfo *sock, gpointer data)
        gint ok;
 
        if ((ok = pop3_ok(sock, NULL)) == PS_SUCCESS) {
-               state->msg[state->cur_msg].deleted = TRUE;
+               if (state->ac_prefs->session_type == RETR_NORMAL)
+                       state->msg[state->cur_msg].deleted = TRUE;
+
                if (pop3_delete_header(state) == TRUE) 
                        return POP3_DELETE_SEND;