mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
Avoid trimming initial whitespace while looking for signatures.
I ran into a message with an indented stack trace that my indexer was mistaking for a signature.
This commit is contained in:
parent
30ed705fda
commit
784779fb67
1 changed files with 2 additions and 2 deletions
|
@ -379,8 +379,8 @@ gen_terms_body_str (Xapian::TermGenerator term_gen,
|
||||||
}
|
}
|
||||||
line_end = next_line - 1;
|
line_end = next_line - 1;
|
||||||
|
|
||||||
/* Trim whitespace. */
|
/* Get to the next non-blank line. */
|
||||||
while (*next_line && isspace (*next_line))
|
while (*next_line == '\n')
|
||||||
next_line++;
|
next_line++;
|
||||||
|
|
||||||
/* Skip lines that are quotes. */
|
/* Skip lines that are quotes. */
|
||||||
|
|
Loading…
Reference in a new issue