]> git.sur5r.net Git - openldap/commitdiff
Fix typo in ldap_delete_ext() which caused msgid to be incremented twice.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 May 1999 16:11:52 +0000 (16:11 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 May 1999 16:11:52 +0000 (16:11 +0000)
libraries/libldap/delete.c

index bc260b205e718eb7a625d62dd78d8ed8e929ef09..71070d239435688c90eb5cae0e2dbc789aca3772 100644 (file)
@@ -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 );