]> git.sur5r.net Git - openldap/blob - servers/slapd/back-bdb/error.c
Fix pkiUser
[openldap] / servers / slapd / back-bdb / error.c
1 /* error.c - BDB errcall routine */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
5  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6  */
7
8 #include "portable.h"
9
10 #include <stdio.h>
11 #include <ac/string.h>
12
13 #include "slap.h"
14 #include "back-bdb.h"
15
16 void bdb_errcall( const char *pfx, char * msg )
17 {
18 #ifdef NEW_LOGGING
19         LDAP_LOG (( "error", LDAP_LEVEL_INFO, "bdb(%s): %s\n", pfx, msg ));
20 #else
21         Debug( LDAP_DEBUG_ANY, "bdb(%s): %s\n", pfx, msg, 0 );
22 #endif
23 }