CVS: sylpheed-claws/src folder.c,1.213.2.87,1.213.2.87.2.1
Colin Leroy <[email protected]>
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31156/src
Modified Files:
Tag: stable_2_1
folder.c
Log Message:
2006-04-23 [colin] 2.1.1cvs8-stable
* src/folder.c
From 2.1.1cvs28
Fix bug #912 (new count randomly set to
message count)
Index: folder.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/folder.c,v
retrieving revision 1.213.2.87
retrieving revision 1.213.2.87.2.1
diff -u -r1.213.2.87 -r1.213.2.87.2.1
--- folder.c 18 Mar 2006 08:56:52 -0000 1.213.2.87
+++ folder.c 23 Apr 2006 18:20:50 -0000 1.213.2.87.2.1
@@ -2026,7 +2026,7 @@
difftime = (gint) (time(NULL) - msgcache_get_last_access_time(item->cache));
expiretime = prefs_common.cache_min_keep_time * 60;
debug_print("Cache unused time: %d (Expire time: %d)\n", difftime, expiretime);
- if (difftime > expiretime) {
+ if (difftime > expiretime && !item->opened && !item->processing_pending) {
*folder_item_list = g_slist_insert_sorted(*folder_item_list, item, folder_cache_time_compare_func);
}
}
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642