diff options
author | Duncaen <mail@duncano.de> | 2017-02-21 18:34:22 +0100 |
---|---|---|
committer | Duncaen <mail@duncano.de> | 2017-02-23 20:35:14 +0100 |
commit | 24e329172360651a2b3557da787df98b02fa6d16 (patch) | |
tree | 1d4b922917556c95a368b0ba98bd772ec19a6abf | |
parent | 10ed969f06ed906bd5429f2b520f93b293a3ae8e (diff) | |
download | mblaze-24e329172360651a2b3557da787df98b02fa6d16.tar.gz mblaze-24e329172360651a2b3557da787df98b02fa6d16.tar.xz mblaze-24e329172360651a2b3557da787df98b02fa6d16.zip |
magrep: continue matching mime parts in -p and or -o mode
-rw-r--r-- | magrep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/magrep.c b/magrep.c index e6e53cc..0804071 100644 --- 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; } } |