]> Pileus Git - ~andy/fetchmail/commitdiff
Better handling of malformed messages.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 4 Dec 2001 10:11:28 +0000 (10:11 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 4 Dec 2001 10:11:28 +0000 (10:11 -0000)
svn path=/trunk/; revision=3552

transact.c

index 638ccd6ec286c03ba01fa9f404cf27d959f19fc2..4ad9e799c8fd4717dcde5ac275746fed8f709ddc 100644 (file)
@@ -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;