]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
kr_module_load(): don't pass the_engine in module->data docs-develop-kr-m-flu34d/deployments/5925
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 20 Dec 2024 12:27:41 +0000 (13:27 +0100)
commitefbb03116feb37736f5dad3cd7d6a80c44b1e478
treedc477efbd0ae5a99e52a7365ac737b9f1b34db1e
parentdcb885b5f6e64d2b1714d8553fd12404f67c20e5
kr_module_load(): don't pass the_engine in module->data

It was a confusing way of repurposing the field.

My comment from over five years ago (129002fc0d) said that
some external C modules might be relying on this.
But that certainly sounds moot nowadays.  To get more confidence,
I rechecked all kr_module::data references (as found by libclang).
daemon/engine.c
lib/module.c
lib/module.h