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

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