From c324711a33abedf4e833ec2eabb60388d3776ebd Mon Sep 17 00:00:00 2001 From: Steve Morgan Date: Thu, 25 Oct 2012 14:55:51 -0700 Subject: [PATCH] fix crashed buildbot from previous commit --- libclamav/matcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/matcher.c b/libclamav/matcher.c index 4937b8343..d9d3a1631 100644 --- a/libclamav/matcher.c +++ b/libclamav/matcher.c @@ -874,7 +874,7 @@ int cli_fmap_scandesc(cli_ctx *ctx, cli_file_t ftype, uint8_t ftonly, struct cli if(compute_hash[hashtype] && (ret = cli_hm_scan(digest[hashtype], map->len, &virname, hdb, hashtype)) == CL_VIRUS) { if(fp) { - for(hashtype2 = CLI_HASH_MD5; hashtype < CLI_HASH_AVAIL_TYPES; hashtype2++) { + for(hashtype2 = CLI_HASH_MD5; hashtype2 < CLI_HASH_AVAIL_TYPES; hashtype2++) { if(compute_hash[hashtype2] && cli_hm_scan(digest[hashtype2], map->len, NULL, fp, hashtype2) == CL_VIRUS) { ret = CL_CLEAN;