mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +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;
|
||||
|
||||
/* Trim whitespace. */
|
||||
while (*next_line && isspace (*next_line))
|
||||
/* Get to the next non-blank line. */
|
||||
while (*next_line == '\n')
|
||||
next_line++;
|
||||
|
||||
/* Skip lines that are quotes. */
|
||||
|
|
Loading…
Reference in a new issue