fix handling of messages w/o body

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5476 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-05 14:14:28 +00:00
parent 594052aa6f
commit 46c1c5308a

View File

@@ -147,7 +147,7 @@ pop_send(POP *p)
}
/* Send the message body */
{
int blank_line = 0;
int blank_line = 1;
while (fgets(buffer, MAXMSGLINELEN-1, p->drop)) {
/* Look for the start of the next message */
if (!IS_MAILDIR(p) && blank_line && strncmp(buffer,"From ",5) == 0)