From dcf749bd4027ec2c87d37c864b377e2f705a853e Mon Sep 17 00:00:00 2001 From: Julian Bouzas <julian.bouzas@collabora.com> Date: Thu, 30 May 2019 10:11:13 -0400 Subject: [PATCH] endpoint: fix bug when linking endpoints --- lib/wp/endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wp/endpoint.c b/lib/wp/endpoint.c index b7c6665b..6b2d58ea 100644 --- a/lib/wp/endpoint.c +++ b/lib/wp/endpoint.c @@ -677,7 +677,7 @@ WpEndpointLink * wp_endpoint_link_new (WpCore * core, WpEndpoint * src, if (!WP_ENDPOINT_GET_CLASS (src)->prepare_link (src, src_stream, link, &src_props, error)) return NULL; - if (!WP_ENDPOINT_GET_CLASS (src)->prepare_link (sink, sink_stream, link, + if (!WP_ENDPOINT_GET_CLASS (sink)->prepare_link (sink, sink_stream, link, &sink_props, error)) return NULL; -- GitLab