summaryrefslogtreecommitdiff
path: root/channels/chan_unistim.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2011-11-30 23:38:34 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2011-11-30 23:38:34 +0000
commit56b21b46834f42b6d1dd4c1d1dd0c4aa883d56aa (patch)
tree1b920bae618544ac76057823bef4c928ba4f7f6b /channels/chan_unistim.c
parent3106f64eac5322efdd9f81594d788de4631b938a (diff)
Remove the few places where we try to ast_verbose() without a newline.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_unistim.c')
-rw-r--r--channels/chan_unistim.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index 9a8c064c2..ac4d559a9 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -1558,14 +1558,14 @@ static void rcv_mac_addr(struct unistimsession *pte, const unsigned char *buf)
int tmp, i = 0;
char addrmac[19];
int res = 0;
- if (unistimdebug)
- ast_verb(0, "Mac Address received : ");
for (tmp = 15; tmp < 15 + SIZE_HEADER; tmp++) {
sprintf(&addrmac[i], "%.2x", (unsigned char) buf[tmp]);
i += 2;
}
- if (unistimdebug)
- ast_verb(0, "%s\n", addrmac);
+ if (unistimdebug) {
+ ast_verb(0, "Mac Address received : %s\n", addrmac);
+ }
+
strcpy(pte->macaddr, addrmac);
res = unistim_register(pte);
if (!res) {