]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/stctrl.c
ITS#6254
[openldap] / libraries / libldap / stctrl.c
index 8aba9466741fdb1c8465adf6c974a48dadabcb99..4ba0c2197a0effa469f499b23e03f3812b28098d 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * Portions Copyright 2007 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -60,6 +60,7 @@ param_error:;
        }
 
        assert( LDAP_VALID( ld ) );
+       ld->ld_errno = LDAP_SUCCESS;
 
        /* check sizes according to I.D. */
        if ( sessionSourceIp == NULL ) {