summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-09 19:52:49 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-09 22:25:55 +0100
commitf6e20bf52f5c0a604584a1f50fff1930edc644e1 (patch)
tree9cd9827c743a6fd2c8f062f5d1cf2dd7b4085995 /source4
parent9fa71f8f573b34c51ec0415917c3c970134eb757 (diff)
downloadsamba-f6e20bf52f5c0a604584a1f50fff1930edc644e1.tar.gz
samba-f6e20bf52f5c0a604584a1f50fff1930edc644e1.tar.bz2
samba-f6e20bf52f5c0a604584a1f50fff1930edc644e1.zip
s4:rpc_server/drsuapi: make msg_attrs static const
metze
Diffstat (limited to 'source4')
-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",