From cdd1a5277ab3b08ffce0bfc4c7476810a4a11891 Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Sun, 3 Mar 2002 15:34:53 +0000 Subject: [PATCH] apply fix by Oliver for selective download (because of changed semantics in pop.c) --- ChangeLog.claws | 6 ++++++ configure.in | 2 +- src/pop.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 43c3aa3bd..180e4fa6b 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -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 diff --git a/configure.in b/configure.in index 64f74e551..b687d22b4 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/src/pop.c b/src/pop.c index 43ed30808..e5d4498dc 100644 --- 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; -- 2.25.1