projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbefe59
)
Clean up debug messages a little bit for ss7 linkset debugging
author
Matthew Fredrickson
<creslin@digium.com>
Thu, 14 Jun 2007 16:41:57 +0000
(16:41 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Thu, 14 Jun 2007 16:41:57 +0000
(16:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69308
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
12aa7a8
..
69d5aa2
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-8891,6
+8891,7
@@
static void *ss7_linkset(void *data)
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
@@
static void zt_ss7_message(struct ss7 *ss7, char *s)
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 */