We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 51eb317 + 2385f24 commit f5f3746Copy full SHA for f5f3746
grep.c
@@ -318,7 +318,7 @@ static struct grep_expr *prep_header_patterns(struct grep_opt *opt)
318
319
if (!opt->header_list)
320
return NULL;
321
- p = opt->header_list;
+
322
for (p = opt->header_list; p; p = p->next) {
323
if (p->token != GREP_PATTERN_HEAD)
324
die("bug: a non-header pattern in grep header list.");
0 commit comments