diff --git a/lib/wp/endpoint.c b/lib/wp/endpoint.c index b7c6665b8d3f1489af2df8126de0321408655fb2..6b2d58eae38f0a9c9a8aa2dfffac5fd94a0d9b59 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;