]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/search.c
Plug mutex/rwlock leaks (destroy them)
[openldap] / servers / slapd / search.c
index ecdae3ce6154d32526cbf4d45a03205e96753b70..88e44e3c45baaf5c646f3733c57feaa5de9f4558 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2009 The OpenLDAP Foundation.
+ * Copyright 1998-2010 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -112,7 +112,7 @@ do_search(
 
        rs->sr_err = dnPrettyNormal( NULL, &base, &op->o_req_dn, &op->o_req_ndn, op->o_tmpmemctx );
        if( rs->sr_err != LDAP_SUCCESS ) {
-               Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn (%s)\n",
+               Debug( LDAP_DEBUG_ANY, "%s do_search: invalid dn: \"%s\"\n",
                        op->o_log_prefix, base.bv_val, 0 );
                send_ldap_error( op, rs, LDAP_INVALID_DN_SYNTAX, "invalid DN" );
                goto return_results;