From e4e99fcd7c65b3d1c4cd7c179f48d1dba798b040 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Wed, 14 Jan 2009 15:51:57 +0000 Subject: This commit deserves no comment. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5657 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi_monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dahdi_monitor.c') 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); } -- cgit v1.2.3