patch-src_servname_c 418 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- iptraf-3.0.0.orig/src/servname.c 2005-09-13 08:42:54.000000000 +0200
  3. +++ iptraf-3.0.0/src/servname.c 2009-05-21 23:04:24.000000000 +0200
  4. @@ -27,7 +27,7 @@ void servlook(int servnames, unsigned in
  5. {
  6. static struct servent *sve;
  7. - bzero(target, maxlen + 1);
  8. + memset(target, 0, maxlen + 1);
  9. if (servnames) {
  10. if (protocol == IPPROTO_TCP)