mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
BDB 4.3 compatibility - errcall prototype
This commit is contained in:
parent
70d3e8f102
commit
8632d8cd04
@ -134,7 +134,11 @@ ldbm_malloc( size_t size )
|
||||
#endif
|
||||
|
||||
static void
|
||||
#if DB_VERSION_X < 0x040300
|
||||
ldbm_db_errcall( const char *prefix, char *message )
|
||||
#else
|
||||
ldbm_db_errcall( const DB_ENV *env, const char *prefix, char *message )
|
||||
#endif
|
||||
{
|
||||
#ifdef LDAP_SYSLOG
|
||||
syslog( LOG_INFO, "ldbm: %s %s", prefix, message );
|
||||
|
Loading…
Reference in New Issue
Block a user