From: Kurt Zeilenga Date: Fri, 21 May 1999 16:11:52 +0000 (+0000) Subject: Fix typo in ldap_delete_ext() which caused msgid to be incremented twice. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d9c49f9829b693d525420edf20673abd059d0c0;p=openldap Fix typo in ldap_delete_ext() which caused msgid to be incremented twice. --- diff --git a/libraries/libldap/delete.c b/libraries/libldap/delete.c index bc260b205e..71070d2394 100644 --- a/libraries/libldap/delete.c +++ b/libraries/libldap/delete.c @@ -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 );