aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-12-04 10:11:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-12-04 10:11:28 +0000
commit5646ad643cb1b9e1a9fe743b410c5d46ae5f6b33 (patch)
tree88338355bd63873684389f2464ac7cf6381e01ee
parent15c492a8f8227ff79f76f23df7e448b8ef4dd6b3 (diff)
downloadfetchmail-5646ad643cb1b9e1a9fe743b410c5d46ae5f6b33.tar.gz
fetchmail-5646ad643cb1b9e1a9fe743b410c5d46ae5f6b33.tar.bz2
fetchmail-5646ad643cb1b9e1a9fe743b410c5d46ae5f6b33.zip
Better handling of malformed messages.
svn path=/trunk/; revision=3552
-rw-r--r--transact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transact.c b/transact.c
index 638ccd6e..4ad9e799 100644
--- a/transact.c
+++ b/transact.c
@@ -483,7 +483,7 @@ int readheaders(int sock,
*/
if (!isspace(line[0]) && !strchr(line, ':'))
{
- headers_ok = TRUE;
+ headers_ok = FALSE;
has_nuls = (linelen != strlen(line));
free(line);
goto process_headers;