projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-10-10 [colin] 1.9.15cvs28
[claws.git]
/
src
/
etpan
/
imap-thread.c
diff --git
a/src/etpan/imap-thread.c
b/src/etpan/imap-thread.c
index 97dee7c1f8d182e0ba7440c8c3ff813bab3ac696..d491a210c8676260f5e6845a37e371fc121e825b 100644
(file)
--- a/
src/etpan/imap-thread.c
+++ b/
src/etpan/imap-thread.c
@@
-42,6
+42,8
@@
static gboolean thread_manager_event(GIOChannel * source,
void imap_logger(int direction, const char * str, size_t size)
{
gchar buf[512];
+
+ memset(buf, 0, 512);
strncpy(buf, str, size > 510 ? 510:size);
buf[511] = '\0';
if (size < 511)