commit 15e0625862a0fa853ccbb8d26800d2750ac592b8
parent 70a249055928c29722245d908926821e4c0b6554
Author: Colin Leroy <colin@colino.net>
Date: Sat, 16 May 2009 08:57:48 +0000
2009-05-16 [colin] 3.7.1cvs56
* src/msgcache.c
Remove msgnum>0 condition for removing messages
from caches. There's no such condition on add.
Fixes bug 1913, 'Allow to remove phantom
messages from the cache'; patch by Fabian
Keil <fk at fabiankeil.de>
Diffstat:
4 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,12 @@
+2009-05-16 [colin] 3.7.1cvs56
+
+ * src/msgcache.c
+ Remove msgnum>0 condition for removing messages
+ from caches. There's no such condition on add.
+ Fixes bug 1913, 'Allow to remove phantom
+ messages from the cache'; patch by Fabian
+ Keil <fk at fabiankeil.de>
+
2009-05-12 [holger] 3.7.1cvs55
* src/messageview.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -3795,3 +3795,4 @@
( cvs diff -u -r 1.27.2.45 -r 1.27.2.46 src/addr_compl.c; cvs diff -u -r 1.8.2.12 -r 1.8.2.13 src/addr_compl.h; ) > 3.7.1cvs53.patchset
( cvs diff -u -r 1.382.2.507 -r 1.382.2.508 src/compose.c; ) > 3.7.1cvs54.patchset
( cvs diff -u -r 1.94.2.203 -r 1.94.2.204 src/messageview.c; cvs diff -u -r 1.19.2.23 -r 1.19.2.24 src/messageview.h; ) > 3.7.1cvs55.patchset
+( cvs diff -u -r 1.16.2.68 -r 1.16.2.69 src/msgcache.c; ) > 3.7.1cvs56.patchset
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=55
+EXTRA_VERSION=56
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/msgcache.c b/src/msgcache.c
@@ -177,7 +177,6 @@ void msgcache_remove_msg(MsgCache *cache, guint msgnum)
MsgInfo *msginfo;
cm_return_if_fail(cache != NULL);
- cm_return_if_fail(msgnum > 0);
msginfo = (MsgInfo *) g_hash_table_lookup(cache->msgnum_table, &msgnum);
if(!msginfo)