From 3d9c49f9829b693d525420edf20673abd059d0c0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 21 May 1999 16:11:52 +0000 Subject: [PATCH] Fix typo in ldap_delete_ext() which caused msgid to be incremented twice. --- libraries/libldap/delete.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ); -- 2.39.5