Commit 906b5f64 authored by Pekka Pessi's avatar Pekka Pessi

nua: saving nua->nua_args even after nua_create() has completed.

darcs-hash:20060913135503-65a35-36608d2777de79274b9f58aa2a158841f7184907.gz
parent 6346ee44
......@@ -138,7 +138,7 @@ nua_t *nua_create(su_root_t *root,
ta_start(ta, tag, value);
nua->nua_args = ta_args(ta);
nua->nua_args = tl_adup(nua->nua_home, ta_args(ta));
su_task_copy(nua->nua_client, su_root_task(root));
......
......@@ -212,8 +212,6 @@ int nua_stack_init(su_root_t *root, nua_t *nua)
nua_stack_timer(nua, nua->nua_timer, NULL);
nua->nua_args = NULL;
return 0;
}
......@@ -364,6 +362,7 @@ void nua_stack_signal(nua_t *nua, su_msg_r msg, nua_event_data_t *e)
901, "Stack is going down",
TAG_END());
}
else switch (e->e_event) {
case nua_r_get_params:
nua_stack_get_params(nua, nh ? nh : nua->nua_dhandle, e->e_event, tags);
......
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