X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=libraries%2Flibldap%2Fstctrl.c;h=98615267c8a2e8098bb16a175fda1f33c58e83b6;hb=8fd5fa0ed82c3a9e980f75a84933e3c3ae0cd5f0;hp=8aba9466741fdb1c8465adf6c974a48dadabcb99;hpb=d4124e0e031f5b76a80f9c25a04146d334bcf898;p=openldap diff --git a/libraries/libldap/stctrl.c b/libraries/libldap/stctrl.c index 8aba946674..98615267c8 100644 --- a/libraries/libldap/stctrl.c +++ b/libraries/libldap/stctrl.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2008 The OpenLDAP Foundation. + * Copyright 1998-2011 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 ) {