... | ... |
@@ -173,6 +173,9 @@ static int decompress_and_callback(cli_ctx *ctx, fmap_t *input, off_t at, size_t |
173 | 173 |
|
174 | 174 |
/* scanning inflated stream */ |
175 | 175 |
ret = cb(cbdata, ofd, ctx); |
176 |
+ } else { |
|
177 |
+ /* default to scanning what we got */ |
|
178 |
+ ret = cli_magic_scandesc(ofd, ctx); |
|
176 | 179 |
} |
177 | 180 |
|
178 | 181 |
/* clean-up */ |