Commit 32cf6604 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_session.c: removed dead code from process_prack()

Ignore-this: 325e40cbba4e6933aa1681d6862533f

Coverity issue.

darcs-hash:20090512180040-db55f-806a7921b43c39bd42c3e3268d9cafe9b3db0588.gz
parent 5e1a3a2d
......@@ -2776,9 +2776,9 @@ static int process_prack(nua_server_request_t *sr,
sip_t const *sip)
{
nua_handle_t *nh;
nua_dialog_usage_t *du;
nta_reliable_destroy(rel);
if (irq == NULL)
/* Final response interrupted 100rel, we did not actually receive PRACK */
return 200;
......@@ -2793,8 +2793,6 @@ static int process_prack(nua_server_request_t *sr,
if (nh->nh_ds->ds_leg == NULL)
return 500;
du = nua_dialog_usage_for_session(nh->nh_ds);
if (sip == NULL) {
/* 100rel timeout */
SR_STATUS(sr, 504, "Reliable Response Timeout");
......
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