diff options
author | Kai Blin <kai@samba.org> | 2011-12-09 00:58:32 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-12-09 01:59:28 +0100 |
commit | 3fbb76c119eaa1becb2df72d54cd4685771628df (patch) | |
tree | 3e0c3aad3dcb7de1dd3ffed0641b5c868cc2fd29 /source4/dns_server | |
parent | 85f8d97f5121b239ebe814a8ef6765317ddd3f51 (diff) | |
download | samba-3fbb76c119eaa1becb2df72d54cd4685771628df.tar.gz samba-3fbb76c119eaa1becb2df72d54cd4685771628df.tar.bz2 samba-3fbb76c119eaa1becb2df72d54cd4685771628df.zip |
s4 dns: Get rid of const qualifier for prereqs, we do need to allocate those
Diffstat (limited to 'source4/dns_server')
-rw-r--r-- | source4/dns_server/dns_server.h | 6 | ||||
-rw-r--r-- | 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; |