From 65431a334743819884c494cc05ac2d8a43efff2f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 6 May 2002 21:39:10 +0000 Subject: Flush the filter log to make Tuomas happy :-) 2002-05-06 Jeffrey Stedfast * mail-ops.c (filter_folder_free): Flush the filter log to make Tuomas happy :-) * mail-session.c (mail_session_flush_filter_log): New convenience function to flush the session's filter log file. svn path=/trunk/; revision=16696 --- mail/mail-session.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mail/mail-session.c') 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); +} -- cgit v1.2.3