1
0

patch-src_serv_c 537 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- iptraf-3.0.0.orig/src/serv.c 2005-09-13 08:42:54.000000000 +0200
  3. +++ iptraf-3.0.0/src/serv.c 2009-05-21 23:04:11.000000000 +0200
  4. @@ -713,7 +713,7 @@ void update_serv_rates(struct portlist *
  5. mvwprintw(win, 0, 46, "%10.2f", outrate);
  6. mvwprintw(win, 0, 61, "%10.2f", totalrate);
  7. - bzero(&(list->barptr->spans), sizeof(struct serv_spans));
  8. + memset(&(list->barptr->spans), 0, sizeof(struct serv_spans));
  9. list->barptr->starttime = time(NULL);
  10. *cleared = 0;
  11. }