[svn-commits] seanbright: tools/trunk r5657 - /tools/trunk/dahdi_monitor.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jan 14 09:51:57 CST 2009


Author: seanbright
Date: Wed Jan 14 09:51:57 2009
New Revision: 5657

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=5657
Log:
This commit deserves no comment.

Modified:
    tools/trunk/dahdi_monitor.c

Modified: tools/trunk/dahdi_monitor.c
URL: http://svn.digium.com/svn-view/dahdi/tools/trunk/dahdi_monitor.c?view=diff&rev=5657&r1=5656&r2=5657
==============================================================================
--- tools/trunk/dahdi_monitor.c (original)
+++ tools/trunk/dahdi_monitor.c Wed Jan 14 09:51:57 2009
@@ -162,10 +162,10 @@
 	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);
 }
 




More information about the svn-commits mailing list