From 3fbb76c119eaa1becb2df72d54cd4685771628df Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 9 Dec 2011 00:58:32 +0100 Subject: s4 dns: Get rid of const qualifier for prereqs, we do need to allocate those --- source4/dns_server/dns_server.h | 6 +++--- source4/dns_server/dns_update.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source4/dns_server/dns_server.h b/source4/dns_server/dns_server.h index 28351e8955..d658b2a492 100644 --- a/source4/dns_server/dns_server.h +++ b/source4/dns_server/dns_server.h @@ -49,9 +49,9 @@ WERROR dns_server_process_query(struct dns_server *dns, WERROR dns_server_process_update(struct dns_server *dns, TALLOC_CTX *mem_ctx, struct dns_name_packet *in, - const struct dns_res_rec *prereqs, uint16_t prereq_count, - struct dns_res_rec **updates, uint16_t *update_count, - struct dns_res_rec **additional, uint16_t *arcount); + struct dns_res_rec *prereqs, uint16_t prereq_count, + struct dns_res_rec **updates, uint16_t *update_count, + struct dns_res_rec **additional, uint16_t *arcount); uint8_t werr_to_dns_err(WERROR werror); bool dns_name_match(const char *zone, const char *name, size_t *host_part_len); diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c index a9fabf66d2..1f968ecff5 100644 --- a/source4/dns_server/dns_update.c +++ b/source4/dns_server/dns_update.c @@ -126,9 +126,9 @@ static WERROR update_prescan(const struct dns_name_question *zone, WERROR dns_server_process_update(struct dns_server *dns, TALLOC_CTX *mem_ctx, struct dns_name_packet *in, - const struct dns_res_rec *prereqs, uint16_t prereq_count, - struct dns_res_rec **updates, uint16_t *update_count, - struct dns_res_rec **additional, uint16_t *arcount) + struct dns_res_rec *prereqs, uint16_t prereq_count, + struct dns_res_rec **updates, uint16_t *update_count, + struct dns_res_rec **additional, uint16_t *arcount) { struct dns_name_question *zone; const struct dns_server_zone *z; -- cgit