git-svn: trunk@4930
Török Edvin authored on 2009/03/12 05:10:27... | ... |
@@ -1198,10 +1198,10 @@ static int hash_match(const struct regex_matcher *rlist, const char *host, size_ |
1198 | 1198 |
h[2*i+1] = hexchars[sha256_dig[i]&0xf]; |
1199 | 1199 |
} |
1200 | 1200 |
h[64]='\0'; |
1201 |
- cli_dbgmsg("Looking up hash %s for %s(%u)%s(%u)\n", h, host, hlen, path, plen); |
|
1201 |
+ cli_dbgmsg("Looking up hash %s for %s(%u)%s(%u)\n", h, host, (unsigned)hlen, path, (unsigned)plen); |
|
1202 | 1202 |
if (prefix_matched) { |
1203 | 1203 |
if (cli_bm_scanbuff(sha256_dig, 4, &virname, &rlist->hostkey_prefix,0,0,-1) == CL_VIRUS) { |
1204 |
- cli_dbgmsg("prefix matched\n", virname); |
|
1204 |
+ cli_dbgmsg("prefix matched\n"); |
|
1205 | 1205 |
*prefix_matched = 1; |
1206 | 1206 |
} else |
1207 | 1207 |
return CL_SUCCESS; |