Przeglądaj źródła

fix jenkins warning

Ludwig Krispenz 11 lat temu
rodzic
commit
31f4f341b8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ldap/servers/plugins/memberof/memberof.c

+ 1 - 1
ldap/servers/plugins/memberof/memberof.c

@@ -921,7 +921,7 @@ int memberof_postop_modrdn(Slapi_PBlock *pb)
 					} 
 				if(ret == LDAP_SUCCESS) {
 						memberof_del_dn_data del_data = {0, configCopy.memberof_attr};
-						if(ret = memberof_del_dn_type_callback(post_e, &del_data)){
+						if((ret = memberof_del_dn_type_callback(post_e, &del_data))){
 							slapi_log_error( SLAPI_LOG_FATAL, MEMBEROF_PLUGIN_SUBSYSTEM,
 								"memberof_postop_modrdn - delete dn callback failed for (%s), error (%d)\n",
 								slapi_entry_get_dn(post_e), ret);