[rtmpdump] r174 - trunk/log.c

hyc subversion at mplayerhq.hu
Sun Jan 3 00:56:30 CET 2010


Author: hyc
Date: Sun Jan  3 00:56:29 2010
New Revision: 174

Log:
Always flush log output

Modified:
   trunk/log.c

Modified: trunk/log.c
==============================================================================
--- trunk/log.c	Sun Jan  3 00:46:34 2010	(r173)
+++ trunk/log.c	Sun Jan  3 00:56:29 2010	(r174)
@@ -59,9 +59,7 @@ void LogPrintf(const char *format, ...)
 	}
 
 	fprintf(fmsg, "%s", str);
-#ifdef _DEBUG
 	fflush(fmsg);
-#endif
 }
 
 void LogStatus(const char *format, ...)
@@ -78,9 +76,7 @@ void LogStatus(const char *format, ...)
 	if ( !fmsg ) fmsg = stderr;
 
 	fprintf(fmsg, "%s", str);
-#ifdef _DEBUG
 	fflush(fmsg);
-#endif
 	neednl = 1;
 }
 


More information about the rtmpdump mailing list