summaryrefslogtreecommitdiff
path: root/src/til_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_stream.c')
-rw-r--r--src/til_stream.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/til_stream.c b/src/til_stream.c
index 72351ca..5b9b59c 100644
--- a/src/til_stream.c
+++ b/src/til_stream.c
@@ -248,6 +248,7 @@ int til_stream_tap(til_stream_t *stream, const void *owner, const void *owner_fo
if (pipe->driving_tap->elems == *(tap->ptr) ||
(!strcmp(pipe->driving_tap->name, tap->name) && !strcmp(pipe->parent_path, parent_path))) {
+
if (pipe->driving_tap->type != tap->type ||
pipe->driving_tap->n_elems != tap->n_elems) {
assert(0); /* I don't really want to handle such errors at runtime */
@@ -505,15 +506,6 @@ int til_stream_for_each_pipe(til_stream_t *stream, til_stream_pipe_iter_func_t p
}
-void til_stream_pipe_set_owner(til_stream_pipe_t *pipe, const void *owner, const void *owner_foo)
-{
- assert(pipe);
-
- pipe->owner = owner;
- pipe->owner_foo = owner_foo;
-}
-
-
/* NULLing out the driving_tap isn't supported, since the tap name is part of the pipe's identity,
* just set tap.inactive to indicate another tap should take over driving.
*/
© All Rights Reserved