summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-06 05:59:32 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-06 05:59:32 +0000
commit75a8b24ed90436a44973edb8eecb14a027f47777 (patch)
tree5d864e389816ec50ac560dfb4c945bc66109897a /source3
parentfef37db972ef30afe2e8dcf73cb46443d6b97ab5 (diff)
downloadsamba-75a8b24ed90436a44973edb8eecb14a027f47777.tar.gz
samba-75a8b24ed90436a44973edb8eecb14a027f47777.tar.bz2
samba-75a8b24ed90436a44973edb8eecb14a027f47777.zip
flush stdout in test logging fns
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/tdbtest.c1
-rw-r--r--source3/tdb/tdbtorture.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/tdb/tdbtest.c b/source3/tdb/tdbtest.c
index 9677515570..cfc6135a0a 100644
--- a/source3/tdb/tdbtest.c
+++ b/source3/tdb/tdbtest.c
@@ -48,6 +48,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...)
va_start(ap, format);
vfprintf(stdout, format, ap);
va_end(ap);
+ fflush(stdout);
}
static void compare_db(void)
diff --git a/source3/tdb/tdbtorture.c b/source3/tdb/tdbtorture.c
index 203e586b6a..13f5aec518 100644
--- a/source3/tdb/tdbtorture.c
+++ b/source3/tdb/tdbtorture.c
@@ -33,6 +33,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...)
va_start(ap, format);
vfprintf(stdout, format, ap);
va_end(ap);
+ fflush(stdout);
#if 0
{
char *ptr;