[svn-commits] mattf: trunk r46466 - /trunk/channels/chan_zap.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Oct 30 11:04:28 MST 2006


Author: mattf
Date: Mon Oct 30 12:04:28 2006
New Revision: 46466

URL: http://svn.digium.com/view/asterisk?rev=46466&view=rev
Log:
Make sure we give the linkset number, not the offset in the linksets array

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=46466&r1=46465&r2=46466&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Mon Oct 30 12:04:28 2006
@@ -8759,7 +8759,7 @@
 		if (linksets[i].ss7 == ss7)
 			break;
 
-	ast_verbose("[%d] %s", i, s);
+	ast_verbose("[%d] %s", i+1, s);
 }
 
 static void zt_ss7_error(struct ss7 *ss7, char *s)
@@ -8770,7 +8770,7 @@
 		if (linksets[i].ss7 == ss7)
 			break;
 
-	ast_log(LOG_ERROR, "[%d] %s", i, s);
+	ast_log(LOG_ERROR, "[%d] %s", i+1, s);
 }
 #endif /* HAVE_SS7 */
 



More information about the svn-commits mailing list