aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-07 05:39:10 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-07 05:39:10 +0800
commit65431a334743819884c494cc05ac2d8a43efff2f (patch)
tree4307467b08896a93dd6b460ac2d402e184c717af /mail/mail-session.c
parent0425bffaf1c34bb5a547ceacc64ba6b71a005ac0 (diff)
downloadgsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.gz
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.bz2
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.lz
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.xz
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.zst
gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.zip
Flush the filter log to make Tuomas happy :-)
2002-05-06 Jeffrey Stedfast <fejj@ximian.com> * 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
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);
+}