[evolution-data-server/gnome-3-8] Bug 699160 - IMAPX: Always flush debugging messages



commit 7869b0329d0d3768f33011871cb75a85404de1ab
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu May 2 17:39:42 2013 -0400

    Bug 699160 - IMAPX: Always flush debugging messages
    
    Had a debugging scenario where key information was not written to a log
    file until another IMAP command was issued.  Caused a bit of confusion.
    This commit ensures that won't happen again.
    
    (cherry picked from commit d22b2ec7cdf32c9904e2c19fb263750b5173f62c)

 camel/camel-imapx-utils.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-imapx-utils.h b/camel/camel-imapx-utils.h
index 0adbf8e..75f4fdb 100644
--- a/camel/camel-imapx-utils.h
+++ b/camel/camel-imapx-utils.h
@@ -378,6 +378,7 @@ extern gint camel_imapx_debug_flags;
        G_STMT_START { \
                if (camel_debug_flag (type)) { \
                        printf ("[imapx:%c] " fmt, tagprefix , ##__VA_ARGS__); \
+                       fflush (stdout); \
                } \
        } G_STMT_END
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]