mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix typo in ldap_delete_ext() which caused msgid to be incremented twice.
This commit is contained in:
parent
4e2b2f8a70
commit
3d9c49f982
1 changed files with 1 additions and 2 deletions
|
|
@ -69,8 +69,7 @@ ldap_delete_ext(
|
|||
}
|
||||
|
||||
/* close '{' */
|
||||
if ( ber_printf( ber, "}", ++ld->ld_msgid, LDAP_REQ_DELETE, dn )
|
||||
== -1 ) {
|
||||
if ( ber_printf( ber, "}" ) == -1 ) {
|
||||
ld->ld_errno = LDAP_ENCODING_ERROR;
|
||||
ber_free( ber, 1 );
|
||||
return( ld->ld_errno );
|
||||
|
|
|
|||
Loading…
Reference in a new issue