* Structure holding the result of the worker_check_request function.
* Based on configuration it could be called up to four times; ideally should
* be called once.
- * When value is a positive number, it countains the error to return.
+ * When value is a positive number, it contains the error to return.
* Otherwise DROP_REQUEST (-1) is returned, or RESPONSE_MESSAGE (-2) in
* case the qr bit was set. Value is set to REQUEST_OK (0) if all is good.
*/
if(err) { log_err("%s", err); }
}
}
+
+ if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting)
+ dns_error_reporting(&mstate->s, rep);
+
if(mstate->reply_list && rep) {
uint8_t data[8192];
struct sldns_buffer dest;
}
}
- if(mstate->reply_list && mstate->s.env->cfg->dns_error_reporting)
- dns_error_reporting(&mstate->s, rep);
for(r = mstate->reply_list; r; r = r->next) {
struct timeval old;