Commit 6da6d61d authored by Pekka Pessi's avatar Pekka Pessi

outgoing_complete(): avoid assert if completing already completed request

darcs-hash:20080814152216-db55f-2a8d1146e9be5b7d333c9ae6aba3afec5106d75c.gz
parent 47b8e149
......@@ -8261,7 +8261,8 @@ int outgoing_complete(nta_outgoing_t *orq)
return outgoing_terminate(orq);
if (orq->orq_method == sip_method_invite) {
outgoing_queue(orq->orq_agent->sa_out.inv_completed, orq); /* Timer D */
if (orq->orq_queue != orq->orq_agent->sa_out.inv_completed)
outgoing_queue(orq->orq_agent->sa_out.inv_completed, orq); /* Timer D */
}
else {
outgoing_queue(orq->orq_agent->sa_out.completed, orq); /* Timer K */
......
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