summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_utils.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-07-31 11:32:02 +0200
committerStefan Metzmacher <metze@samba.org>2014-08-26 09:13:06 +0200
commit7e7df78bd7ae5575da7443b45c0e2e4167eebde2 (patch)
tree1510d366beac3289a77c6cb72bfae2c2e28dd0fa /source4/dns_server/dns_utils.c
parent342a087349f8a10833338a3fa49fbd4d4d29f3e5 (diff)
downloadsamba-7e7df78bd7ae5575da7443b45c0e2e4167eebde2.tar.gz
s4:dns_server: remove const from dns_replace_records()
All callers are find we the record array gets modified. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10749 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dns_server/dns_utils.c')
-rw-r--r--source4/dns_server/dns_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/dns_utils.c b/source4/dns_server/dns_utils.c
index 3bfa98b7621..cf1adccf83d 100644
--- a/source4/dns_server/dns_utils.c
+++ b/source4/dns_server/dns_utils.c
@@ -161,7 +161,7 @@ WERROR dns_replace_records(struct dns_server *dns,
TALLOC_CTX *mem_ctx,
struct ldb_dn *dn,
bool needs_add,
- const struct dnsp_DnssrvRpcRecord *records,
+ struct dnsp_DnssrvRpcRecord *records,
uint16_t rec_count)
{
struct ldb_message_element *el;