aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-session.c')
-rw-r--r--mail/mail-session.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 20f72762cd..02a67f4ee7 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -1025,3 +1025,13 @@ mail_session_forget_passwords (BonoboUIComponent *uih, void *user_data,
{
e_passwords_forget_passwords ();
}
+
+
+void
+mail_session_flush_filter_log (void)
+{
+ MailSession *ms = (MailSession *) session;
+
+ if (ms->filter_logfile)
+ fflush (ms->filter_logfile);
+}