gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 09/11: daemon: flush stderr after each writ


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 09/11: daemon: flush stderr after each write for debug builds
Date: Sun, 26 May 2019 23:46:53 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5afa9fbb434c454c5b2845645ac0240d20a43d77
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 26 22:41:57 2019 +0300

    daemon: flush stderr after each write for debug builds
---
 src/microhttpd/daemon.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 249e4f6f..fdca4de2 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -228,6 +228,9 @@ MHD_default_logger_ (void *cls,
                      va_list ap)
 {
   vfprintf ((FILE*)cls, fm, ap);
+#ifdef _DEBUG
+  fflush ((FILE*)cls);
+#endif /* _DEBUG */
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]