[asterisk-commits] rmudgett: branch rmudgett/bridge_phase r393673 - /team/rmudgett/bridge_phase/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 3 20:20:35 CDT 2013


Author: rmudgett
Date: Wed Jul  3 20:20:33 2013
New Revision: 393673

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393673
Log:
Remove some debug code that has been getting in the way for awhile now.

Modified:
    team/rmudgett/bridge_phase/main/channel_internal_api.c

Modified: team/rmudgett/bridge_phase/main/channel_internal_api.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/bridge_phase/main/channel_internal_api.c?view=diff&rev=393673&r1=393672&r2=393673
==============================================================================
--- team/rmudgett/bridge_phase/main/channel_internal_api.c (original)
+++ team/rmudgett/bridge_phase/main/channel_internal_api.c Wed Jul  3 20:20:33 2013
@@ -1059,15 +1059,6 @@
 }
 
 /* Evil softhangup accessors */
-#if defined(WHY_HUNGUP)
-static void BUGBUG_softhangup_check(struct ast_channel *chan)
-{
-	if (chan->softhangup && !strcmp(chan->name, "DAHDI/3-1")) {
-		char *crash = NULL;
-		*crash = '\0';
-	}
-}
-#endif	/* defined(WHY_HUNGUP) */
 int ast_channel_softhangup_internal_flag(struct ast_channel *chan)
 {
 	return chan->softhangup;
@@ -1075,16 +1066,10 @@
 void ast_channel_softhangup_internal_flag_set(struct ast_channel *chan, int value)
 {
 	chan->softhangup = value;
-#if defined(WHY_HUNGUP)
-	BUGBUG_softhangup_check(chan);
-#endif	/* defined(WHY_HUNGUP) */
 }
 void ast_channel_softhangup_internal_flag_add(struct ast_channel *chan, int value)
 {
 	chan->softhangup |= value;
-#if defined(WHY_HUNGUP)
-	BUGBUG_softhangup_check(chan);
-#endif	/* defined(WHY_HUNGUP) */
 }
 void ast_channel_softhangup_internal_flag_clear(struct ast_channel *chan, int value)
 {




More information about the asterisk-commits mailing list