ldap/servers/slapd/auditlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5601fe46a98a7c9318b94c34fed75320f118957e
Author: William Brown <firstyear(a)redhat.com>
Date: Thu May 19 13:52:24 2016 +1000
Ticket 48834 - Fix jenkins: discared qualifier on auditlog.c
Bug Description: ldap/servers/slapd/auditlog.c:87:31: warning: assignment
discards 'const' qualifier from pointer target type
[-Wdiscarded-qualifiers]
ldap/servers/slapd/auditlog.c:155:31: warning: assignment discards 'const'
qualifier from pointer target type [-Wdiscarded-qualifiers]
Fix Description: Add the const char type to the array.
https://fedorahosted.org/389/ticket/48834
Author: wibrown
Review by: One line fix
diff --git a/ldap/servers/slapd/auditlog.c b/ldap/servers/slapd/auditlog.c
index 9a1b502..0f4cc94 100644
--- a/ldap/servers/slapd/auditlog.c
+++ b/ldap/servers/slapd/auditlog.c
@@ -35,7 +35,7 @@ static int auditfail_hide_unhashed_pw = 1;
/* Forward Declarations */
static void write_audit_file(int logtype, int optype, const char *dn, void *change, int
flag, time_t curtime, int rc );
-static char *modrdn_changes[4];
+static const char *modrdn_changes[4];
void
write_audit_log_entry( Slapi_PBlock *pb )