]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/resolve answer_finalize: separate a special case
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 10 Jul 2019 08:17:05 +0000 (10:17 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 23 Jul 2019 09:00:26 +0000 (11:00 +0200)
commit7263be7c7e6cf016d21ad3de6c6daa016ead99e4
treed6f5b840b03b8e8e3665610f9fe5a0106d2be7d1
parente7899d9464ac56573e7ace981c1fb24f080aec88
lib/resolve answer_finalize: separate a special case

We currently allow modules to produce a packet beforehand,
but the possibility was rather implicit in this part of code.
In particular, we might possible trigger a false alarm in
assert(answer->current <= KNOT_ANSWER)
lib/resolve.c