Commit 80ba7a25 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nta.c: fixed problem of processing requests without Via lines

Bug reported by Henrik Nordstr-Am. -b

darcs-hash:20060917072128-65a35-b112bb091c05dc973369001d237608a740b06024.gz
parent b695a547
......@@ -2022,7 +2022,7 @@ void agent_recv_request(nta_agent_t *agent,
/* Try to use compression on reverse direction if @Via has comp=sigcomp */
if (stream &&
sip->sip_via->v_comp &&
sip->sip_via && sip->sip_via->v_comp &&
tport_can_send_sigcomp(tport) &&
tport_name(tport)->tpn_comp == NULL &&
tport_has_compression(tport_parent(tport), sip->sip_via->v_comp)) {
......
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