1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4 dns: Get rid of const qualifier for prereqs, we do need to allocate those

This commit is contained in:
Kai Blin 2011-12-09 00:58:32 +01:00
parent 85f8d97f51
commit 3fbb76c119
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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;