Commit daae8b18 authored by Karel Slaný's avatar Karel Slaný Committed by Ondřej Surý

Fixed error.

parent ae1fbbd3
......@@ -259,7 +259,7 @@ uint8_t *kr_no_question_cookie_query(const knot_pkt_t *pkt)
int kr_parse_cookie_opt(uint8_t *cookie_opt, struct knot_dns_cookies *cookies)
{
if (!cookie_opt || !cookies) {
kr_error(EINVAL);
return kr_error(EINVAL);
}
const uint8_t *cookie_data = knot_edns_opt_get_data(cookie_opt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment