Commit 62ec9eff 62ec9eff1a5b226e85d824bc15d73bde75c5b8dd by Sergey Poznyakoff

(imap4d_append0): Skip leading whitespace.

1 parent da88ef54
......@@ -82,6 +82,9 @@ imap4d_append0 (mailbox_t mbox, int flags, char *text)
return 1;
}
while (*text && isspace (*text))
text++;
/* If a date_time is specified, the internal date SHOULD be set in the
resulting message; otherwise, the internal date of the resulting
message is set to the current date and time by default. */
......@@ -126,4 +129,3 @@ imap4d_append0 (mailbox_t mbox, int flags, char *text)
return rc;
}
......