Commit a4a91bf6 authored by Pekka Pessi's avatar Pekka Pessi

nua_stack.c: do not use empty tag parameter with To header.

darcs-hash:20060817183652-65a35-e01371ecf7dd7af3ff6d79eabf8b5b856b6e2af4.gz
parent f72dcb17
......@@ -1019,7 +1019,7 @@ msg_t *nua_creq_msg(nua_t *nua,
nta_leg_t *leg = nua->nua_dhandle->nh_ds->ds_leg;
if (sip_add_tl(msg, sip, ta_tags(ta)) < 0
|| (ds->ds_remote_tag &&
|| (ds->ds_remote_tag && ds->ds_remote_tag[0] &&
sip_to_tag(nh->nh_home, sip->sip_to, ds->ds_remote_tag) < 0)
|| (sip->sip_from == NULL &&
sip_add_dup(msg, sip, (sip_header_t *)nua->nua_from) < 0))
......
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