]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/session2: avoid incorrectly generated errors docs-develop-uv-t-p5pt2q/deployments/5212
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 25 Sep 2024 08:39:43 +0000 (10:39 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 25 Sep 2024 08:39:43 +0000 (10:39 +0200)
commit5a4bb4472ab98b401a2f0d3a09bac52fbeb9c297
treea0d85d66e90494cfa48398e648440199d575d1d0
parentbc783277aa0575325d298944cef7b57b596265a0
daemon/session2: avoid incorrectly generated errors

The _try_ functions additionally return positive values on success,
and the code around didn't deal with that.

So far there's no evidence that this caused any issues beyond debug-logs:
  [prlayr] ... iteration of group ... ended with status 'Unknown error ...
daemon/session2.c