]> git.sur5r.net Git - openldap/commitdiff
BDB 4.3 compatibility - errcall prototype
authorHoward Chu <hyc@openldap.org>
Sun, 21 Nov 2004 16:50:24 +0000 (16:50 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 21 Nov 2004 16:50:24 +0000 (16:50 +0000)
servers/slapd/back-ldbm/ldbm.c

index 222f7cf733b9ba4f9f413cef68cc251761f28073..5186567aa550cfbd98c7c0565a04314de0927f06 100644 (file)
@@ -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 );