Skip to content
Snippets Groups Projects
Commit 0217d323 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Return immediately when xfr_handler_task() == NULL

parent 67285b2b
No related branches found
No related tags found
No related merge requests found
......@@ -173,6 +173,7 @@ static void xfr_sweep(fdset_t *set, int fd, void *data)
knot_ns_xfr_t *t = xfr_handler_task((xfrworker_t *)data, fd);
if (!t) {
dbg_xfr("xfr: NULL data to sweep\n");
return;
}
/* Skip non-sweepable types. */
......
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