Add newline after each maildir message.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4943 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-05-24 18:59:06 +00:00
parent 8131b7a664
commit 2206638b3d

View File

@@ -157,6 +157,10 @@ pop_send(POP *p)
if (hangup) if (hangup)
return (pop_msg (p,POP_FAILURE,"SIGHUP or SIGPIPE flagged")); return (pop_msg (p,POP_FAILURE,"SIGHUP or SIGPIPE flagged"));
} }
/* some braindamaged pop-clients need a blank line at the end
of the message */
if(IS_MAILDIR(p))
fputs("\r\n", p->output);
} }
/* "." signals the end of a multi-line transmission */ /* "." signals the end of a multi-line transmission */
fputs(".\r\n",p->output); fputs(".\r\n",p->output);