1
0

patch-src_iptraf_c 541 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- iptraf-3.0.0.orig/src/iptraf.c 2005-09-13 08:42:54.000000000 +0200
  3. +++ iptraf-3.0.0/src/iptraf.c 2009-05-21 23:02:08.000000000 +0200
  4. @@ -559,7 +559,7 @@ int main(int argc, char **argv)
  5. exit(1);
  6. } else if (opt != -1) {
  7. if (optarg != 0) {
  8. - bzero(keyparm, 12);
  9. + memset(keyparm, 0, 12);
  10. strncpy(keyparm, optarg, 11);
  11. } else
  12. strcpy(keyparm, "");