From f171dabffe795c1d448b1eacec28780296b732d5 Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Mon, 30 Oct 2006 18:04:28 +0000 Subject: [PATCH] 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 --- channels/chan_zap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */