2013-06-14 12:35:35 +00:00
|
|
|
From 4313b91b0bc2fe6585656cd69a03f9755b5af3c4 Mon Sep 17 00:00:00 2001
|
2013-06-14 12:32:16 +00:00
|
|
|
From: Jan Synacek <jsynacek@redhat.com>
|
2013-06-14 12:35:35 +00:00
|
|
|
Date: Wed, 29 May 2013 10:21:40 +0200
|
|
|
|
Subject: [PATCH] Fix loglevel2bvarray
|
2013-06-14 12:32:16 +00:00
|
|
|
|
|
|
|
---
|
2013-06-14 12:35:35 +00:00
|
|
|
servers/slapd/bconfig.c | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
2013-06-14 12:32:16 +00:00
|
|
|
|
|
|
|
diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c
|
2013-06-14 12:35:35 +00:00
|
|
|
index 4e1f1b5..def6daf 100644
|
2013-06-14 12:32:16 +00:00
|
|
|
--- a/servers/slapd/bconfig.c
|
|
|
|
+++ b/servers/slapd/bconfig.c
|
2013-06-14 12:35:35 +00:00
|
|
|
@@ -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 );
|
|
|
|
}
|
2013-06-14 12:32:16 +00:00
|
|
|
|
|
|
|
--
|
|
|
|
1.8.1.4
|
|
|
|
|