patch-src_bar_c 413 B

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