This has created a showstopper in the new release, I've fixed it by applying the rest of Buchi's patch to MailImpl.java... I guess we need to patch the release too.
d. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 26, 2001 5:59 AM > To: [EMAIL PROTECTED] > Subject: cvs commit: jakarta-james/src/java/org/apache/james/core > MailImpl.java > > > serge 01/10/25 21:58:47 > > Modified: src/java/org/apache/james/core MailImpl.java > Log: > Fixed calculation of size, reported and patch sent by Gabriel > Bucher (Buchi) > > Revision Changes Path > 1.7 +1 -1 > jakarta-james/src/java/org/apache/james/core/MailImpl.java > > Index: MailImpl.java > =================================================================== > RCS file: > /home/cvs/jakarta-james/src/java/org/apache/james/core/MailImpl.java,v > retrieving revision 1.6 > retrieving revision 1.7 > diff -u -r1.6 -r1.7 > --- MailImpl.java 2001/10/25 03:12:24 1.6 > +++ MailImpl.java 2001/10/26 04:58:47 1.7 > @@ -136,7 +136,7 @@ > // maintained value (so we don't have to load and reparse > // messages each time). > int size = message.getSize(); > - Enumeration e = message.getAllHeaders(); > + Enumeration e = message.getAllHeaderLines(); > while (e.hasMoreElements()) { > size += ((Header)e.nextElement()).toString().length(); > } > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
