mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-14 07:59:33 -04:00
use bool instead of my_bool to fix #2886
This commit is contained in:
1 parent
0ecd35e1c6
commit
adf953dcdd
1 file changed
+1
-1
+1
-1
@@ -40,7 +40,7 @@ bool zmDbConnect() {
|
||||
Error("Can't initialise database connection: %s", mysql_error(&dbconn));
|
||||
return false;
|
||||
}
|
||||
my_bool reconnect = 1;
|
||||
bool reconnect = 1;
|
||||
if ( mysql_options(&dbconn, MYSQL_OPT_RECONNECT, &reconnect) )
|
||||
Error("Can't set database auto reconnect option: %s", mysql_error(&dbconn));
|
||||
if ( !staticConfig.DB_SSL_CA_CERT.empty() )
|
||||
|
||||
Reference in new issue
Block a user