magrep: keep threading while matching body

pull/79/head
Duncaen 7 years ago committed by Leаh Neukirchen
parent bb15eac90f
commit 8b50a794b0

@ -106,11 +106,12 @@ match_part(int depth, struct message *msg, char *body, size_t bodylen)
void void
match_body(char *file) match_body(char *file)
{ {
curfile = file; char *filename;
while (*curfile == ' ' || *curfile == '\t') filename = curfile = file;
curfile++; while (*filename == ' ' || *filename == '\t')
filename++;
struct message *msg = blaze822_file(curfile); struct message *msg = blaze822_file(filename);
if (!msg) if (!msg)
return; return;

Loading…
Cancel
Save