mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Remove extraneous ber_peek_tag() call
This commit is contained in:
parent
86528cfa1d
commit
81912bd377
@ -120,7 +120,6 @@ do_extended(
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
struct berval reqdata = {0, NULL};
|
struct berval reqdata = {0, NULL};
|
||||||
ber_tag_t tag;
|
|
||||||
ber_len_t len;
|
ber_len_t len;
|
||||||
|
|
||||||
Debug( LDAP_DEBUG_TRACE, "%s do_extended\n",
|
Debug( LDAP_DEBUG_TRACE, "%s do_extended\n",
|
||||||
@ -142,8 +141,6 @@ do_extended(
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
tag = ber_peek_tag( op->o_ber, &len );
|
|
||||||
|
|
||||||
if( ber_peek_tag( op->o_ber, &len ) == LDAP_TAG_EXOP_REQ_VALUE ) {
|
if( ber_peek_tag( op->o_ber, &len ) == LDAP_TAG_EXOP_REQ_VALUE ) {
|
||||||
if( ber_scanf( op->o_ber, "m", &reqdata ) == LBER_ERROR ) {
|
if( ber_scanf( op->o_ber, "m", &reqdata ) == LBER_ERROR ) {
|
||||||
Debug( LDAP_DEBUG_ANY, "%s do_extended: ber_scanf failed\n",
|
Debug( LDAP_DEBUG_ANY, "%s do_extended: ber_scanf failed\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user