[asterisk-commits] bbryant: branch bbryant/keyrotation r128799 - /team/bbryant/keyrotation/chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 7 18:14:35 CDT 2008


Author: bbryant
Date: Mon Jul  7 18:14:35 2008
New Revision: 128799

URL: http://svn.digium.com/view/asterisk?view=rev&rev=128799
Log:
Update a debug routine in key rotation.

Modified:
    team/bbryant/keyrotation/channels/chan_iax2.c

Modified: team/bbryant/keyrotation/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/bbryant/keyrotation/channels/chan_iax2.c?view=diff&rev=128799&r1=128798&r2=128799
==============================================================================
--- team/bbryant/keyrotation/channels/chan_iax2.c (original)
+++ team/bbryant/keyrotation/channels/chan_iax2.c Mon Jul  7 18:14:35 2008
@@ -211,6 +211,9 @@
 #define IAX_DEBUGDIGEST(msg, key) do { \
 		int idx; \
 		char digest[33] = ""; \
+		\
+		if (!iaxdebug) \
+			break; \
 		\
 		for (idx = 0; idx < 16; idx++) \
 			sprintf(digest + (idx << 1), "%2.2x", (unsigned char) key[idx]); \




More information about the asterisk-commits mailing list