Hi Vadim,

There was a little thing missing in your last commit. I fixed that in
REV#7665 :)

Minh

> 
> Thanks Vadim! I forgot that there could be many dialogs in a call :)
> 
> Minh
> 
> 
> > Minh,
> >
> > I've fixed your fix in REV #7658  to scan all dialogs in the call
> >
> > Vadim
> >
> > >
> > >
> > >
> > >>-----Original Message-----
> > >>From: [EMAIL PROTECTED] [mailto:wengophone-
> > >>[EMAIL PROTECTED] On Behalf Of Marlon Mircevski
> > >>Sent: jeudi 21 septembre 2006 09:44
> > >>To: [email protected]
> > >>Subject: [Wengophone-devel] Re: eXosip weird code
> > >>
> > >>Marlon Mircevski wrote:
> > >>
> > >>
> > >>>Can someone take a look at wifo\eXosip\src\misc.c, line 55 in func
> > >>>eXosip_remove_transaction_from_call(osip_transaction_t *tr,
> > >>>eXosip_call_t *jc)
> > >>>i cannot understand why eXosip_dialog_t *jd is used without having
> > >>>been initialized, maybe it's value can be from jc->c_dialogs?
> > >>>
> > >>>
> > >>>
> > >>Just take a look at old eXosip code, i think the following is missed:
> > >>---
> > >>for (jd = jc->c_dialogs; jd != NULL; jd = jd->next)
> > >>    {
> > >>      int pos = 0;
> > >>      while (!osip_list_eol (jd->d_inc_trs, pos))
> > >>        {
> > >>          osip_transaction_t *inc_tr = osip_list_get (jd->d_inc_trs,
> > pos);
> > >>          if (inc_tr == tr)
> > >>            {
> > >>              osip_list_remove (jd->d_inc_trs, pos);
> > >>              return 0;
> > >>            }
> > >>          pos++;
> > >>        }
> > >>    }
> > >>---
> > >>and
> > >>---
> > >>for (jd = jc->c_dialogs; jd != NULL; jd = jd->next)
> > >>    {
> > >>      int pos = 0;
> > >>      while (!osip_list_eol (jd->d_out_trs, pos))
> > >>        {
> > >>          osip_transaction_t *out_tr = osip_list_get (jd->d_out_trs,
> > pos);
> > >>          if (out_tr == tr)
> > >>            {
> > >>              osip_list_remove (jd->d_out_trs, pos);
> > >>              return 0;
> > >>            }
> > >>          pos++;
> > >>        }
> > >>    }
> > >>---
> > >>
> > >>Marlon
> > >>
> > >>_______________________________________________
> > >>Wengophone-devel mailing list
> > >>[email protected]
> > >>http://dev.openwengo.com/mailman/listinfo/wengophone-devel
> > >>
> > >>
> > >
> > >_______________________________________________
> > >Wengophone-devel mailing list
> > >[email protected]
> > >http://dev.openwengo.com/mailman/listinfo/wengophone-devel
> > >
> > >
> > >
> > >
> 
> _______________________________________________
> Wengophone-devel mailing list
> [email protected]
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to