summaryrefslogtreecommitdiffstats
path: root/sendlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendlib.c')
-rw-r--r--sendlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendlib.c b/sendlib.c
index 763bff41..204b1308 100644
--- a/sendlib.c
+++ b/sendlib.c
@@ -2130,7 +2130,7 @@ static int write_one_header (FILE *fp, int pfxw, int max, int wraplen,
else
{
t = strchr (start, ':');
- if (!t || t > end)
+ if (!t || t >= end)
{
dprint (1, (debugfile, "mwoh: warning: header not in "
"'key: value' format!\n"));