james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1164977 - /james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java
Date Sun, 04 Sep 2011 08:57:00 GMT
Author: norman
Date: Sun Sep  4 08:57:00 2011
New Revision: 1164977

URL: http://svn.apache.org/viewvc?rev=1164977&view=rev
Log:
Make sure the header/body seperator is included in getHeaderContent()

Modified:
    james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java

Modified: james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java?rev=1164977&r1=1164976&r2=1164977&view=diff
==============================================================================
--- james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java
(original)
+++ james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAEncryptedMessage.java
Sun Sep  4 08:57:00 2011
@@ -67,7 +67,7 @@ public class JPAEncryptedMessage extends
         public JPAEncryptedMessage(JPAMailbox mailbox,Date internalDate, int size, Flags
flags, SharedInputStream content, int bodyStartOctet, final PropertyBuilder propertyBuilder)
throws MailboxException {
             super(mailbox, internalDate, flags, size ,bodyStartOctet, propertyBuilder);
             try {
-                int headerEnd = bodyStartOctet -2;
+                int headerEnd = bodyStartOctet;
                 if (headerEnd < 0) {
                     headerEnd = 0;
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message