Browse code

bz10893: fixes bug for hash calculations when using --allmatch.

Steven Morgan authored on 2014/06/10 06:21:55
Showing 1 changed files
... ...
@@ -921,7 +921,7 @@ int cli_fmap_scandesc(cli_ctx *ctx, cli_file_t ftype, uint8_t ftonly, struct cli
921 921
                     type = ret;
922 922
             }
923 923
 
924
-            if(hdb && !SCAN_ALL) {
924
+            if(hdb) {
925 925
                 const void *data = buff + maxpatlen * (offset!=0);
926 926
                 uint32_t data_len = bytes - maxpatlen * (offset!=0);
927 927