mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 24e329172360651a2b3557da787df98b02fa6d16
parent 10ed969f06ed906bd5429f2b520f93b293a3ae8e
Author: Duncaen <mail@duncano.de>
Date:   Tue, 21 Feb 2017 18:34:22 +0100

magrep: continue matching mime parts in -p and or -o mode

Diffstat:
magrep.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/magrep.c b/magrep.c @@ -89,8 +89,8 @@ match_part(int depth, struct message *msg, char *body, size_t bodylen) for (p = s = body; p < body+bodylen+1; p++) { if (*p == '\r' || *p == '\n') { *p = 0; - if (p-s > 1 && match(curfile, "/", s)) - r = MIME_STOP; + if (p-s > 1) + match(curfile, "/", s); s = p+1; } }