[asterisk-commits] mattf: trunk r69308 - /trunk/channels/chan_zap.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 14 09:41:58 MST 2007


Author: mattf
Date: Thu Jun 14 11:41:57 2007
New Revision: 69308

URL: http://svn.digium.com/view/asterisk?view=rev&rev=69308
Log:
Clean up debug messages a little bit for ss7 linkset debugging

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=69308&r1=69307&r2=69308
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Jun 14 11:41:57 2007
@@ -8891,6 +8891,7 @@
 
 static void zt_ss7_message(struct ss7 *ss7, char *s)
 {
+#if 0
 	int i;
 
 	for (i = 0; i < NUM_SPANS; i++)
@@ -8898,17 +8899,23 @@
 			break;
 
 	ast_verbose("[%d] %s", i+1, s);
+#else
+	ast_verbose("%s", s);
+#endif
 }
 
 static void zt_ss7_error(struct ss7 *ss7, char *s)
 {
+#if 0
 	int i;
 
 	for (i = 0; i < NUM_SPANS; i++)
 		if (linksets[i].ss7 == ss7)
 			break;
 
-	ast_log(LOG_ERROR, "[%d] %s", i+1, s);
+#else
+	ast_log(LOG_ERROR, "%s", s);
+#endif
 }
 #endif /* HAVE_SS7 */
 



More information about the asterisk-commits mailing list