buffer_len += packet_blob.length;
if (buffer_len < packet_blob.length) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
buffer_len += tsig_blob.length;
if (buffer_len < tsig_blob.length) {
- return WERR_INVALID_PARAM;
+ return WERR_INVALID_PARAMETER;
}
buffer = talloc_zero_array(mem_ctx, uint8_t, buffer_len);
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);
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);
}