You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/dosdetector/files/dosdetector-20060621-sizeof...

12 lines
301 B

--- a/src/main.c
+++ b/src/main.c
@@ -306,8 +306,6 @@
hosts = calloc(2, sizeof(struct host));
rules = calloc(1, sizeof(struct rule));
rules_num = 0;
- bzero(hosts, sizeof(hosts));
- bzero(rules, sizeof(rules));
/* Init rules table */
if (init_rules(opt.rules) != 0) {