Commit 3d9c49f9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix typo in ldap_delete_ext() which caused msgid to be incremented twice.

parent 4e2b2f8a
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment