From 95241fae6c4298f777cb082f89f2f7ae6696c6db Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Wed, 29 May 2013 10:21:40 +0200 Subject: [PATCH] ITS#7611 Fix loglevel2bvarray --- servers/slapd/bconfig.c | 4 ++++ 1 file changed, 4 insertions(+) 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 ); }