repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 40ebd4704a04a01be9e36fdbbff5e0c93b2bc71d:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 40ebd4704a04a01be9e36fdbbff5e0c93b2bc71d
Author: Alexander Barton 
Date:   Tue Sep 3 17:25:45 2002 +0000

    - Ausgaben auf der Console werden nun "geflushed".

diff --git a/src/ngircd/log.c b/src/ngircd/log.c
index 74a3230adde98510f9842363258898bef3598885..
index ..9708eadc3f8f342f1171caa64cc4861a07f8f90e 100644
--- a/src/ngircd/log.c
+++ b/src/ngircd/log.c
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: log.c,v 1.35 2002/06/02 17:03:32 alex Exp $
+ * $Id: log.c,v 1.36 2002/09/03 17:25:45 alex Exp $
  *
  * log.c: Logging-Funktionen
  */
@@ -178,7 +178,8 @@ va_dcl
 	if( NGIRCd_NoDaemon )
 	{
 		/* auf Konsole ausgeben */
-		printf( "[%d] %s\n", Level, msg );
+		fprintf( stdout, "[%d] %s\n", Level, msg );
+		fflush( stdout );
 	}

 	if( Level <= LOG_CRIT )

-----END OF PAGE-----