Update of /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom
In directory sc8-pr-cvs1:/tmp/cvs-serv23116/src/org/mrbook/mrpostman/maildotcom
Modified Files:
MailDotComMailSession.java
Log Message:
Changed the logs so that I can understand reproduce [ 728283 ] Error in from: fields with mail.com module / by Pancho Villa
Index: MailDotComMailSession.java
===================================================================
RCS file: /cvsroot/mrpostman/mrpostman/src/org/mrbook/mrpostman/maildotcom/MailDotComMailSession.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** MailDotComMailSession.java 4 May 2003 22:28:52 -0000 1.25
--- MailDotComMailSession.java 11 May 2003 14:27:58 -0000 1.26
***************
*** 433,448 ****
if (match.find()) {
! logger.fine("Found header: " + match.group(1));
pw.print(match.group(1));
line = br.readLine();
! pw.print(unescape(line.substring(0, line.length() - 4)));
pw.print("\r\n");
} else {
match = bbfieldpattern.matcher(line);
if (match.find()) {
! logger.fine("found header group:" + match.group(1));
pw.print(match.group(1));
pw.print(unescape(match.group(2)));
pw.print("\r\n");
}
--- 433,452 ----
if (match.find()) {
!
pw.print(match.group(1));
line = br.readLine();
! logger.finest("html: " + line);
! line = unescape(line.substring(0, line.length() - 4));
! pw.print(line);
pw.print("\r\n");
+ logger.fine("Found header: " + match.group(1) + " = " + line);
} else {
match = bbfieldpattern.matcher(line);
if (match.find()) {
!
pw.print(match.group(1));
pw.print(unescape(match.group(2)));
+ logger.fine("found header group:" + match.group(1) + " " + unescape(match.group(2)));
pw.print("\r\n");
}
|