From: Jan Synacek Date: Wed, 29 May 2013 08:21:40 +0000 (+0200) Subject: ITS#7611 Fix loglevel2bvarray X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95241fae6c4298f777cb082f89f2f7ae6696c6db;p=openldap ITS#7611 Fix loglevel2bvarray --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 4e1f1b531f..def6daf201 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3622,6 +3622,10 @@ loglevel2bvarray( int l, BerVarray *bva ) loglevel_init(); } + if ( l == 0 ) { + return value_add_one( bva, ber_bvstr( "0" ) ); + } + return mask_to_verbs( loglevel_ops, l, bva ); }