]> sjero.net Git - linphone/commitdiff
set a reference to the call in the ping_op
authorSimon Morlat <simon.morlat@linphone.org>
Wed, 12 May 2010 12:49:10 +0000 (14:49 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Wed, 12 May 2010 12:49:10 +0000 (14:49 +0200)
coreapi/linphonecore.c

index 6bb231242e5591a0198687c7bb3b788f1430cc46..1bed57f2cc6022ce8ae60cf4d3bf9631ff75710f 100644 (file)
@@ -2002,6 +2002,7 @@ int linphone_core_invite_address(LinphoneCore *lc, const LinphoneAddress *real_p
                call->state=LCStatePreEstablishing;
                call->ping_op=sal_op_new(lc->sal);
                sal_ping(call->ping_op,from,real_url);
+               sal_op_set_user_pointer(call->ping_op,call);
                call->start_time=time(NULL);
        }