Get rid of two compilation warnings. One is thought to be properly

taken care of.  The second, however, on remove_old_locks is unclear.
This commit is contained in:
Julio Sánchez Fernández 1999-07-14 19:51:35 +00:00
parent e74ff638ba
commit 1df71e1814

View file

@ -22,7 +22,7 @@ static void remove_old_locks( char *home );
static void
bdb2i_db_errcall( char *prefix, char *message )
bdb2i_db_errcall( const char *prefix, char *message )
{
Debug( LDAP_DEBUG_ANY, "bdb2_db_errcall(): %s %s", prefix, message, 0 );
}
@ -234,7 +234,7 @@ remove_old_locks( char *home )
int err;
memset( &dbEnv, 0, sizeof( DB_ENV ));
dbEnv.db_errcall = stderr;
dbEnv.db_errcall = bdb2i_db_errcall;
dbEnv.db_errpfx = "remove_old_locks(): db_appinit:";
dbEnv.lk_max = 0;