From: Matthew Fredrickson Date: Mon, 30 Oct 2006 18:04:28 +0000 (+0000) Subject: Make sure we give the linkset number, not the offset in the linksets array X-Git-Tag: 1.6.0-beta1~3^2~4222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f171dabffe795c1d448b1eacec28780296b732d5;p=thirdparty%2Fasterisk.git Make sure we give the linkset number, not the offset in the linksets array git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46466 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 23d715f8d9..f299177fdd 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -8759,7 +8759,7 @@ static void zt_ss7_message(struct ss7 *ss7, char *s) 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 @@ static void zt_ss7_error(struct ss7 *ss7, char *s) 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 */