mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
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>
This commit is contained in:
parent
342a087349
commit
7e7df78bd7
@ -101,7 +101,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);
|
||||
WERROR dns_name2dn(struct dns_server *dns,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user