lmtp patch for long lines ...

Brasseur Valéry Valery.Brasseur at atosorigin.com
Fri Apr 11 12:29:54 EDT 2003


here is a patch wich should enable cyrus to handle correctly long email
lines...

--- lmtpengine.c.orig   Fri Apr 11 16:26:09 2003
+++ lmtpengine.c        Fri Apr 11 16:26:55 2003
@@ -669,7 +669,7 @@
            p[1] = '\n';
            p[2] = '\0';
        }
-       else if (p[0] != '\n') {
+       else if (p[0] == '\0') {
            /* line contained a \0 not at the end */
            r = IMAP_MESSAGE_CONTAINSNULL;
            continue;

valery





More information about the Info-cyrus mailing list