From 588f70f78ae0d83496e019fed1030d154d11cd50 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 25 Feb 2021 09:41:38 +0100 Subject: [PATCH] sip: origin: fix CallsSipHandles reference in sip_callback --- plugins/sip/calls-sip-origin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 6754189..04ef97e 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -286,8 +286,7 @@ sip_callback (nua_event_t event, tagi_t tags[]) { CallsSipOrigin *origin = CALLS_SIP_ORIGIN (magic); - /* op currently unused */ - CallsSipHandles *op = hmagic; + CallsSipHandles *op = origin->oper; const char * from = NULL; switch (event) {