[libpri-commits] rmudgett: branch rmudgett/t312 r2228 - /team/rmudgett/t312/q931.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Mon Feb 28 15:05:51 CST 2011
Author: rmudgett
Date: Mon Feb 28 15:05:47 2011
New Revision: 2228
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2228
Log:
Remove some no longer needed code and some debug code.
Modified:
team/rmudgett/t312/q931.c
Modified: team/rmudgett/t312/q931.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/t312/q931.c?view=diff&rev=2228&r1=2227&r2=2228
==============================================================================
--- team/rmudgett/t312/q931.c (original)
+++ team/rmudgett/t312/q931.c Mon Feb 28 15:05:47 2011
@@ -7000,27 +7000,6 @@
/* The subcall was not destroyed. */
subcall->alive = 0;
}
- else pri_error(ctrl, DBGHEAD "BUGBUG prevented write to freed memory.\n", DBGINFO);
- } else {
- switch (subcall->ourcallstate) {
- case Q931_CALL_STATE_NULL:
- switch (subcall->peercallstate) {
- case Q931_CALL_STATE_NULL:
- /*
- * Complete the hangup of the dead subcall. Noone else will at
- * this point.
- */
-/* BUGBUG may still be needed for T309 processing. */
-pri_error(ctrl, DBGHEAD "BUGBUG Dead subcall hangup is still needed.\n", DBGINFO);
- q931_hangup(ctrl, subcall, cause);
- break;
- default:
- break;
- }
- break;
- default:
- break;
- }
}
}
More information about the libpri-commits
mailing list