projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with 0.9.10cvs11
[claws.git]
/
src
/
msgcache.c
diff --git
a/src/msgcache.c
b/src/msgcache.c
index 6273f54cce56681902638a7797992f86e0f2f9e5..b4de1f666bf240396d7d7969eaf5ad3afdb77ec0 100644
(file)
--- a/
src/msgcache.c
+++ b/
src/msgcache.c
@@
-84,7
+84,7
@@
void msgcache_add_msg(MsgCache *cache, MsgInfo *msginfo)
cache->memusage += procmsg_msginfo_memusage(msginfo);
cache->last_access = time(NULL);
cache->memusage += procmsg_msginfo_memusage(msginfo);
cache->last_access = time(NULL);
- debug_print("Cache size: %d messages, %d byte\n", g_hash_table_size(cache->msgnum_table), cache->memusage);
+ debug_print("Cache size: %d messages, %d byte
s
\n", g_hash_table_size(cache->msgnum_table), cache->memusage);
}
void msgcache_remove_msg(MsgCache *cache, guint msgnum)
}
void msgcache_remove_msg(MsgCache *cache, guint msgnum)
@@
-228,7
+228,7
@@
gint msgcache_get_memory_usage(MsgCache *cache)
#define WRITE_CACHE_DATA(data, fp) \
{ \
#define WRITE_CACHE_DATA(data, fp) \
{ \
-
gin
t len; \
+
size_
t len; \
if (data == NULL) \
len = 0; \
else \
if (data == NULL) \
len = 0; \
else \