andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

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

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