Skip to content
Snippets Groups Projects
Commit 5bcf1868 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

libknot/probe: return 0 instead of KNOT_ENOENT when timeouted

parent a575ae1b
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ int knot_probe_consume(knot_probe_t *probe, knot_probe_data_t *data, uint8_t cou
if (ret == -1) {
return knot_map_errno();
} else if ((pfd.revents & POLLIN) == 0) {
return KNOT_ENOENT;
return 0;
}
#ifdef ENABLE_RECVMMSG
......
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