add missing ()

This commit is contained in:
Isaac Connor 2021-02-24 13:48:59 -05:00
parent 778a4f1d84
commit 6f89eba154
1 changed files with 1 additions and 1 deletions

View File

@ -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);