mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-09 14:48:35 +02:00
yWeb 2.8.a.3 Alpha-Version
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@406 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -81,14 +81,15 @@ void CLogging::printf ( const char *fmt, ... )
|
||||
|
||||
va_list arglist;
|
||||
va_start( arglist, fmt );
|
||||
// if(arglist)
|
||||
if(arglist)
|
||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||
va_end(arglist);
|
||||
|
||||
pthread_mutex_lock( &Log_mutex );
|
||||
::printf(buffer);
|
||||
if(LogToFile)
|
||||
usleep(0); //FIXME Logging to File
|
||||
if(LogToFile) {
|
||||
; //FIXME Logging to File
|
||||
}
|
||||
pthread_mutex_unlock( &Log_mutex );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user