replying with ERROR instead of abort (e.g. on AmSipDialog::reply_error no non-existing request)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1812 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent d6a547ca8e
commit 190252522c

@ -115,7 +115,11 @@ int trans_layer::send_reply(trans_ticket* tt,
// - Accept
assert(tt);
assert(tt->_bucket && tt->_t);
if (!tt->_bucket || !tt->_t) {
ERROR("Invalid transaction ticket\n");
return -1;
}
trans_bucket* bucket = tt->_bucket;
sip_trans* t = tt->_t;

Loading…
Cancel
Save