summaryrefslogtreecommitdiff
path: root/dahdi_monitor.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-01-14 15:51:57 +0000
committerSean Bright <sean@malleable.com>2009-01-14 15:51:57 +0000
commite4e99fcd7c65b3d1c4cd7c179f48d1dba798b040 (patch)
tree72f191deab07975cce60fe0cd49ebf9656d36fa9 /dahdi_monitor.c
parent0ea1ba2d21e5730876609f6fd866194fc41a186c (diff)
This commit deserves no comment.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_monitor.c')
-rw-r--r--dahdi_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dahdi_monitor.c b/dahdi_monitor.c
index 3d7f14c..04597d4 100644
--- a/dahdi_monitor.c
+++ b/dahdi_monitor.c
@@ -162,10 +162,10 @@ void draw_barheader()
memset(bar + barlen + 2, '>', 1);
memset(bar + barlen + 3, '\0', 1);
- strncpy(bar + (barlen / 2), "(RX)", 4);
+ memcpy(bar + (barlen / 2), "(RX)", 4);
printf("%s", bar);
- strncpy(bar + (barlen / 2), "(TX)", 4);
+ memcpy(bar + (barlen / 2), "(TX)", 4);
printf(" %s\n", bar);
}