diff options
author | waldemar brodkorb <wbx@debian-lenny-amd64.foo.bar> | 2010-01-19 21:14:16 +0100 |
---|---|---|
committer | waldemar brodkorb <wbx@debian-lenny-amd64.foo.bar> | 2010-01-19 21:14:16 +0100 |
commit | dd181acc1ac0c1e7dc9db85da30bd8522a95773d (patch) | |
tree | 08396068cfd74178f725d4b096a321d54ae8a53e /package/snort/patches/patch-src_snort_c | |
parent | fc4027a2b4f5a9384e8552b8dd515e53aae9444c (diff) | |
parent | a903c4fefdc19bb838e808146c6aa1a32296e4cb (diff) |
Merge branch 'master' of git+ssh://wbx@openadk.org/git/openadk
Diffstat (limited to 'package/snort/patches/patch-src_snort_c')
-rw-r--r-- | package/snort/patches/patch-src_snort_c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/snort/patches/patch-src_snort_c b/package/snort/patches/patch-src_snort_c deleted file mode 100644 index a3ec23375..000000000 --- a/package/snort/patches/patch-src_snort_c +++ /dev/null @@ -1,20 +0,0 @@ ---- snort-2.8.5.1.orig/src/snort.c 2009-10-19 19:44:03.000000000 +0200 -+++ snort-2.8.5.1/src/snort.c 2009-12-27 17:17:42.000000000 +0100 -@@ -3581,7 +3581,7 @@ static void SnortCleanup(int exit_val) - struct timeval difftime; - struct timezone tz; - -- bzero((char *) &tz, sizeof(tz)); -+ memset((char *) &tz, 0, sizeof(tz)); - gettimeofday(&endtime, &tz); - - TIMERSUB(&endtime, &starttime, &difftime); -@@ -3628,7 +3628,7 @@ static void SnortCleanup(int exit_val) - sfActionQueueDestroy (decoderActionQ); - mempool_destroy (&decoderAlertMemPool); - decoderActionQ = NULL; -- bzero(&decoderAlertMemPool, sizeof(decoderAlertMemPool)); -+ memset(&decoderAlertMemPool, 0, sizeof(decoderAlertMemPool)); - } - - /* Print Statistics */ |