Blame SOURCES/0034-Ticket-49441-Import-crashes-oneline-fix.patch

081b2d
From 2c868707b3ae1a4255ea33610b177f8a98f4a3f3 Mon Sep 17 00:00:00 2001
081b2d
From: William Brown <firstyear@redhat.com>
081b2d
Date: Tue, 7 Nov 2017 17:09:18 +1000
081b2d
Subject: [PATCH] Ticket 49441 - Import crashes - oneline fix
081b2d
081b2d
Bug Description:  index.c fails to compile.
081b2d
081b2d
Fix Description:  Excess braces due to copy paste issue.
081b2d
081b2d
https://pagure.io/389-ds-base/issue/49441
081b2d
081b2d
Author: wibrown
081b2d
081b2d
Review by: oneline rule
081b2d
081b2d
(cherry picked from commit be4d7e5a82c1616317fa52968d2814e3f922254c)
081b2d
---
081b2d
 ldap/servers/slapd/back-ldbm/index.c | 2 --
081b2d
 1 file changed, 2 deletions(-)
081b2d
081b2d
diff --git a/ldap/servers/slapd/back-ldbm/index.c b/ldap/servers/slapd/back-ldbm/index.c
081b2d
index a565db87b..587f4d991 100644
081b2d
--- a/ldap/servers/slapd/back-ldbm/index.c
081b2d
+++ b/ldap/servers/slapd/back-ldbm/index.c
081b2d
@@ -1778,7 +1778,6 @@ addordel_values(
081b2d
         key.flags = DB_DBT_USERMEM;
081b2d
                 key.ulen = tmpbuflen;
081b2d
         if (slapi_is_loglevel_set(LDAP_DEBUG_TRACE)) {
081b2d
-        {
081b2d
             char encbuf[BUFSIZ];
081b2d
 
081b2d
             slapi_log_err(SLAPI_LOG_TRACE, "addordel_values", "%s_value(\"%s\")\n",
081b2d
@@ -1943,7 +1942,6 @@ addordel_values_sv(
081b2d
         key.ulen = tmpbuflen;
081b2d
 
081b2d
         if (slapi_is_loglevel_set(LDAP_DEBUG_TRACE)) {
081b2d
-        {
081b2d
             char encbuf[BUFSIZ];
081b2d
 
081b2d
             slapi_log_err(SLAPI_LOG_TRACE, "addordel_values_sv", "%s_value(\"%s\")\n",
081b2d
-- 
081b2d
2.13.6
081b2d