ITS#7611 Fix loglevel2bvarray

This commit is contained in:
Jan Synacek 2013-05-29 10:21:40 +02:00 committed by Howard Chu
parent 1d252a9236
commit 95241fae6c

View File

@ -3622,6 +3622,10 @@ loglevel2bvarray( int l, BerVarray *bva )
loglevel_init(); loglevel_init();
} }
if ( l == 0 ) {
return value_add_one( bva, ber_bvstr( "0" ) );
}
return mask_to_verbs( loglevel_ops, l, bva ); return mask_to_verbs( loglevel_ops, l, bva );
} }