mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-14 16:23:23 -05:00
Silence warning (bv_len >= 0 is always true)
This commit is contained in:
parent
c0e0a64799
commit
4b6f2de8ab
1 changed files with 1 additions and 1 deletions
|
|
@ -1260,7 +1260,7 @@ static Entry *accesslog_entry( Operation *op, SlapReply *rs, int logop,
|
|||
}
|
||||
|
||||
rdn.bv_len = snprintf( rdn.bv_val, sizeof( rdnbuf ), "%lu", op->o_connid );
|
||||
if ( rdn.bv_len >= 0 || rdn.bv_len < sizeof( rdnbuf ) ) {
|
||||
if ( rdn.bv_len < sizeof( rdnbuf ) ) {
|
||||
attr_merge_one( e, ad_reqSession, &rdn, NULL );
|
||||
} /* else? */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue