[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 01:08:17 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 7037f4ee927a98ab89630918651ac44a23d15b51
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Mon Oct 26 16:37:29 2009 +0100

    make buildbot happy

diff --git a/libclamav/others.c b/libclamav/others.c
index ed53020..44e8e00 100644
--- a/libclamav/others.c
+++ b/libclamav/others.c
@@ -263,7 +263,7 @@ int cl_init(unsigned int initoptions)
 	cli_rarload();
     }
     gettimeofday(&tv, (struct timezone *) 0);
-    srand(pid + tv.tv_usec*++pid + clock());
+    srand(pid + tv.tv_usec*(pid+1) + clock());
     return CL_SUCCESS;
 }
 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list