Commit 1e68c2c5 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Silence warning (bv_len >= 0 is always true)

parent 1ebe532f
......@@ -1262,7 +1262,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? */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment