summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 7d5c4b8186..93d0801700 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -1526,7 +1526,9 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
int uSN;
struct drsuapi_DsReplicaObjectListItemEx *obj;
struct ldb_message *msg;
- const char *msg_attrs[] = { "*", "distinguishedName",
+ static const char * const msg_attrs[] = {
+ "*",
+ "distinguishedName",
"nTSecurityDescriptor",
"parentGUID",
"replPropertyMetaData",