mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-24 15:28:27 -04:00
fix whitespace
This commit is contained in:
1 parent
1f6a6f9758
commit
6fa3b25d2a
1 file changed
+5
-5
+5
-5
@@ -618,11 +618,11 @@ void Logger::logPrint( bool hex, const char * const filepath, const int line, co
|
||||
snprintf( sql, sizeof(sql), "insert into Logs ( TimeKey, Component, ServerId, Pid, Level, Code, Message, File, Line ) values ( %ld.%06ld, '%s', %d, %d, %d, '%s', '%s', '%s', %d )", timeVal.tv_sec, timeVal.tv_usec, mId.c_str(), staticConfig.SERVER_ID, tid, level, classString, escapedString, file, line );
|
||||
if ( mysql_query( &mDbConnection, sql ) )
|
||||
{
|
||||
Level tempDatabaseLevel = mDatabaseLevel;
|
||||
databaseLevel( NOLOG );
|
||||
Error( "Can't insert log entry: sql(%s) error(%s)", sql, mysql_error( &mDbConnection ) );
|
||||
databaseLevel(tempDatabaseLevel);
|
||||
}
|
||||
Level tempDatabaseLevel = mDatabaseLevel;
|
||||
databaseLevel( NOLOG );
|
||||
Error( "Can't insert log entry: sql(%s) error(%s)", sql, mysql_error( &mDbConnection ) );
|
||||
databaseLevel(tempDatabaseLevel);
|
||||
}
|
||||
}
|
||||
if ( level <= mSyslogLevel )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user