mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
Fix typo in multbyte tag code
This commit is contained in:
parent
b872bf3a91
commit
459194f347
1 changed files with 1 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ ber_get_tag( BerElement *ber )
|
|||
return( LBER_DEFAULT );
|
||||
|
||||
tag << 8;
|
||||
tag &= 0x00ffUL & (ber_tag_t) xbyte;
|
||||
tag |= 0x00ffUL & (ber_tag_t) xbyte;
|
||||
|
||||
if ( ! (xbyte & LBER_MORE_TAG_MASK) )
|
||||
break;
|
||||
|
|
@ -67,7 +67,6 @@ ber_get_tag( BerElement *ber )
|
|||
if ( i == sizeof(ber_tag_t) )
|
||||
return( LBER_DEFAULT );
|
||||
|
||||
/* want leading, not trailing 0's */
|
||||
return tag;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue