amoralej / rpms / 389-ds-base

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

Blame SOURCES/0035-fix-jenkins-warning.patch

f92ce9
From 841e1bb9dc9ae1e5ab0897a339f647baaf51524e Mon Sep 17 00:00:00 2001
f92ce9
From: Ludwig Krispenz <lkrispen@redhat.com>
f92ce9
Date: Wed, 17 Dec 2014 19:54:33 +0100
f92ce9
Subject: [PATCH 35/53] fix jenkins warning
f92ce9
f92ce9
(cherry picked from commit 4760dc6c66249a793c8485a23c147954265f6fd3)
f92ce9
---
f92ce9
 ldap/servers/plugins/memberof/memberof.c | 2 +-
f92ce9
 1 file changed, 1 insertion(+), 1 deletion(-)
f92ce9
f92ce9
diff --git a/ldap/servers/plugins/memberof/memberof.c b/ldap/servers/plugins/memberof/memberof.c
f92ce9
index 80b52ab..ce48f01 100644
f92ce9
--- a/ldap/servers/plugins/memberof/memberof.c
f92ce9
+++ b/ldap/servers/plugins/memberof/memberof.c
f92ce9
@@ -921,7 +921,7 @@ int memberof_postop_modrdn(Slapi_PBlock *pb)
f92ce9
 					} 
f92ce9
 				if(ret == LDAP_SUCCESS) {
f92ce9
 						memberof_del_dn_data del_data = {0, configCopy.memberof_attr};
f92ce9
-						if(ret = memberof_del_dn_type_callback(post_e, &del_data)){
f92ce9
+						if((ret = memberof_del_dn_type_callback(post_e, &del_data))){
f92ce9
 							slapi_log_error( SLAPI_LOG_FATAL, MEMBEROF_PLUGIN_SUBSYSTEM,
f92ce9
 								"memberof_postop_modrdn - delete dn callback failed for (%s), error (%d)\n",
f92ce9
 								slapi_entry_get_dn(post_e), ret);
f92ce9
-- 
f92ce9
1.9.3
f92ce9