*/
static void sink_forward_io_handler(struct appctx *appctx)
{
- struct stream_interface *si = appctx->owner;
+ struct stream_interface *si = cs_si(appctx->owner);
struct stream *s = si_strm(si);
struct sink *sink = strm_fe(s)->parent;
struct sink_forward_target *sft = appctx->ctx.sft.ptr;
*/
static void sink_forward_oc_io_handler(struct appctx *appctx)
{
- struct stream_interface *si = appctx->owner;
+ struct stream_interface *si = cs_si(appctx->owner);
struct stream *s = si_strm(si);
struct sink *sink = strm_fe(s)->parent;
struct sink_forward_target *sft = appctx->ctx.sft.ptr;
if (!sft->appctx)
return;
- si = sft->appctx->owner;
+ si = cs_si(sft->appctx->owner);
if (!si)
return;