]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/dn2entry.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / back-mdb / dn2entry.c
index 26bf8464376b26012b75d940e4b0ab3c501d1fbe..16c50877ddf45c1b20dd116f2716971cdf0cfe3e 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2011 The OpenLDAP Foundation.
+ * Copyright 2000-2012 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@ mdb_dn2entry(
        MDB_cursor *mc;
 
        Debug(LDAP_DEBUG_TRACE, "mdb_dn2entry(\"%s\")\n",
-               dn->bv_val, 0, 0 );
+               dn->bv_val ? dn->bv_val : "", 0, 0 );
 
        *e = NULL;