aboutsummaryrefslogtreecommitdiff
path: root/mmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mmime.c')
-rw-r--r--mmime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mmime.c b/mmime.c
index f082cf0..ab5bcf4 100644
--- a/mmime.c
+++ b/mmime.c
@@ -517,6 +517,7 @@ check()
off_t linelen = 0;
off_t maxheadlinelen = 0;
off_t maxbodylinelen = 0;
+ off_t bodylinelenlimit = getenv("MBLAZE_RELAXED_MIME") ? 998 : 78;
int c;
int l = -1;
@@ -554,7 +555,7 @@ check()
}
if (bitlow == 0 && bithigh == 0 &&
- maxheadlinelen < 998 && maxbodylinelen <= 78 &&
+ maxheadlinelen < 998 && maxbodylinelen <= bodylinelenlimit &&
l == '\n')
return 0;
else