hi aymeric,
another improvement – this time for eXosip_malloc:
I would suggest to initially set j_stop_ua = -1:
struct eXosip_t *
eXosip_malloc (void)
{
struct eXosip_t *ptr = (struct eXosip_t *) osip_malloc (sizeof (eXosip_t));
if (ptr)
{
memset (ptr, 0, sizeof (eXosip_t));
ptr->j_stop_ua = -1;
}
return ptr;
}
after calling eXosip_quit the variable j_stop_ua is set et to -1 !
this should also be the initial value !
br,
christoph