summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/til.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til.c b/src/til.c
index fcc2549..e1f15cc 100644
--- a/src/til.c
+++ b/src/til.c
@@ -322,6 +322,7 @@ int til_module_create_contexts(const til_module_t *module, til_stream_t *stream,
assert(module);
assert(setup); /* we *always* want a setup, even if the module has no setup() method - for the path */
+ assert(module == setup->creator); /* these should never differ */
assert(n_contexts > 0);
assert(res_contexts);
© All Rights Reserved