summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_server.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:26 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:23 +0200
commit8416a97b301072dc3d3f46a28eadfa96cda48cc2 (patch)
treec0667f8bfd7c1901684ef82a1d22c17f7496ea74 /source4/dns_server/dns_server.c
parenta15159f5a5bb10c4cb0ecb360edf5fb420b47ec9 (diff)
downloadsamba-8416a97b301072dc3d3f46a28eadfa96cda48cc2.tar.gz
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/dns_server/
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dns_server/dns_server.c')
-rw-r--r--source4/dns_server/dns_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index db7c2f2d5ba..830e0703336 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -134,7 +134,7 @@ static struct tevent_req *dns_process_send(TALLOC_CTX *mem_ctx,
state->dns = dns;
if (in->length < 12) {
- tevent_req_werror(req, WERR_INVALID_PARAM);
+ tevent_req_werror(req, WERR_INVALID_PARAMETER);
return tevent_req_post(req, ev);
}
dump_data_dbgc(DBGC_DNS, 8, in->data, in->length);
@@ -154,7 +154,7 @@ static struct tevent_req *dns_process_send(TALLOC_CTX *mem_ctx,
if (state->in_packet.operation & DNS_FLAG_REPLY) {
DEBUG(1, ("Won't reply to replies.\n"));
- tevent_req_werror(req, WERR_INVALID_PARAM);
+ tevent_req_werror(req, WERR_INVALID_PARAMETER);
return tevent_req_post(req, ev);
}