Skip to content
Snippets Groups Projects
Commit 042164df authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

daemon/worker: ignore KNOT_ETRAIL when saving source packet

parent b8535938
No related branches found
No related tags found
1 merge request!705daemon/worker: ignore KNOT_ETRAIL when saving source packet
Pipeline #42377 failed
......@@ -363,7 +363,9 @@ static int request_start(struct request_ctx *ctx, knot_pkt_t *query)
if (!pkt) {
return kr_error(ENOMEM);
}
if (knot_pkt_copy(pkt, query) != 0) {
int ret = knot_pkt_copy(pkt, query);
if (ret != KNOT_EOK && ret != KNOT_ETRAIL) {
return kr_error(ENOMEM);
}
req->qsource.packet = pkt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment