add missing ()
This commit is contained in:
parent
778a4f1d84
commit
6f89eba154
|
@ -535,7 +535,7 @@ void Logger::logPrint(bool hex, const char * const filepath, const int line, con
|
|||
} // end if level <= mFileLevel
|
||||
|
||||
if ( level <= mDatabaseLevel ) {
|
||||
if (db_mutex.try_lock) {
|
||||
if (db_mutex.try_lock()) {
|
||||
int syslogSize = syslogEnd-syslogStart;
|
||||
char escapedString[(syslogSize*2)+1];
|
||||
mysql_real_escape_string(&dbconn, escapedString, syslogStart, syslogSize);
|
||||
|
|
Loading…
Reference in New Issue