Fixed last fix.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@460 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-04-08 09:51:35 +00:00
parent 882f68067c
commit 79baec3d87
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void zmDbConnect( const char *user, const char*pass )
fprintf( stderr, "Can't initialise structure: %s\n", mysql_error( &dbconn ) );
exit( mysql_errno( &dbconn ) );
}
if ( !mysql_real_connect( &dbconn, ZM_DB_SERVER, user, pass ) )
if ( !mysql_real_connect( &dbconn, ZM_DB_SERVER, user, pass, 0, 0, 0, 0 ) )
{
fprintf( stderr, "Can't connect to server: %s\n", mysql_error( &dbconn ) );
exit( mysql_errno( &dbconn ) );