diff options
Diffstat (limited to 'src/til_stream.h')
-rw-r--r-- | src/til_stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/til_stream.h b/src/til_stream.h index 3f0a618..da1abdf 100644 --- a/src/til_stream.h +++ b/src/til_stream.h @@ -21,6 +21,7 @@ #include <stdint.h> #include "til_module_context.h" +#include "til_setup.h" typedef struct til_stream_t til_stream_t; typedef struct til_stream_pipe_t til_stream_pipe_t; @@ -52,7 +53,7 @@ int til_stream_tap(til_stream_t *stream, const void *owner, const void *owner_fo /* convenience helper for use within modules */ static inline int til_stream_tap_context(til_stream_t *stream, const til_module_context_t *module_context, const void *owner_foo, const til_tap_t *tap) { - return til_stream_tap(stream, module_context, owner_foo, module_context->path, module_context->path_hash, tap); + return til_stream_tap(stream, module_context, owner_foo, module_context->setup->path, module_context->setup->path_hash, tap); } void til_stream_untap_owner(til_stream_t *stream, const void *owner); |