summaryrefslogtreecommitdiff
path: root/package/iptraf/patches/patch-src_bar_c
blob: 09ca6aef0d4c26e703aac0734fb4690806d72ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- iptraf-3.0.0.orig/src/bar.c	2005-09-13 08:42:54.000000000 +0200
+++ iptraf-3.0.0/src/bar.c	2009-05-21 23:04:49.000000000 +0200
@@ -26,7 +26,7 @@ void set_barptr(char **barptr, char *ent
 {
     *barptr = entry;
     *starttime = time(NULL);
-    bzero(spanbr, size);
+    memset(spanbr, 0, size);
 
     if (!(*cleared)) {
         wattrset(win, IPSTATATTR);