[Commits] [SCM] claws branch, master, updated. 3.9.0-169-g679dd60
mones at claws-mail.org
mones at claws-mail.org
Sat Apr 6 13:17:21 CEST 2013
The branch master of project "claws" (Claws Mail) has been updated
via 679dd60ea63ffca15052d8175779d8cc4c87402c (commit)
from e02c1b684adc6b9b2a6a3f855418165bf885af51 (commit)
- Log -----------------------------------------------------------------
commit 679dd60ea63ffca15052d8175779d8cc4c87402c
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Apr 6 13:13:28 2013 +0200
Fix part of bug #2885 (fprintf on a NULL file pointer)
diff --git a/src/plugins/newmail/newmail.c b/src/plugins/newmail/newmail.c
index 268e3e8..54004a5 100644
--- a/src/plugins/newmail/newmail.c
+++ b/src/plugins/newmail/newmail.c
@@ -57,7 +57,8 @@ gboolean newmail_hook (gpointer source, gpointer data)
auto MsgInfo *msginfo = (MsgInfo *)source;
auto FolderItem *tof;
- if (!msginfo) return (FALSE);
+ if (!msginfo) return FALSE;
+ if (!NewLog) return FALSE;
tof = msginfo->folder;
(void)fprintf (NewLog, "---\n"
-----------------------------------------------------------------------
Summary of changes:
src/plugins/newmail/newmail.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list