Commit 8e24c636 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Updated nua_stack_tport_update().

darcs-hash:20060324121146-65a35-75e74614fbeff6cc35a204bf45fb457a5877a034.gz
parent 4bc5de8c
......@@ -659,16 +659,16 @@ nua_stack_registrations_init(nua_t *nua)
static
void nua_stack_tport_update(nua_t *nua, nta_agent_t *nta)
{
register_usage *default_ru;
register_usage const *defaults = nua->nua_registrations;
outbound_connect *default_oc;
outbound_connect const *defaults = nua->nua_registrations;
sip_via_t *via = nta_agent_via(nta);
default_ru = register_usage_by_aor(defaults, NULL, 1);
default_oc = outbound_connect_by_aor(defaults, NULL, 1);
if (default_ru) {
assert(default_ru->ru_via);
if (default_oc) {
assert(default_oc->oc_via);
register_usage_contacts_from_via(default_ru,
outbound_connect_contacts_from_via(default_oc,
via,
via->v_next);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment