... | ... |
@@ -89,7 +89,7 @@ static void context_safe(struct cli_bc_ctx *ctx) |
89 | 89 |
if (!ctx->hooks.match_counts) |
90 | 90 |
ctx->hooks.match_counts = nomatch; |
91 | 91 |
if (!ctx->hooks.match_offsets) |
92 |
- ctx->hooks.match_counts = nooffsets; |
|
92 |
+ ctx->hooks.match_offsets = nooffsets; |
|
93 | 93 |
if (!ctx->hooks.filesize) |
94 | 94 |
ctx->hooks.filesize = &nofilesize; |
95 | 95 |
if (!ctx->hooks.pedata) |