[svn-commits] rmudgett: branch rmudgett/t309_cc r2062 - /team/rmudgett/t309_cc/q931.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Oct 20 18:05:16 CDT 2010
Author: rmudgett
Date: Wed Oct 20 18:05:14 2010
New Revision: 2062
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2062
Log:
Fix a crash when the line fails on the Q.SIG signaling link.
The call cannot be both a signaling link and the original call.
Modified:
team/rmudgett/t309_cc/q931.c
Modified: team/rmudgett/t309_cc/q931.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/t309_cc/q931.c?view=diff&rev=2062&r1=2061&r2=2062
==============================================================================
--- team/rmudgett/t309_cc/q931.c (original)
+++ team/rmudgett/t309_cc/q931.c Wed Oct 20 18:05:14 2010
@@ -8475,8 +8475,7 @@
if (c->cc.record) {
if (c->cc.record->signaling == c) {
pri_cc_event(ctrl, c, c->cc.record, CC_EVENT_SIGNALING_GONE);
- }
- if (c->cc.record->original_call == c) {
+ } else if (c->cc.record->original_call == c) {
pri_cc_event(ctrl, c, c->cc.record, CC_EVENT_INTERNAL_CLEARING);
}
}
More information about the svn-commits
mailing list