james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hb...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/nntpserver/repository NNTPArticleImpl.java
Date Sun, 19 Jan 2003 21:36:26 GMT
hbedi       2003/01/19 13:36:26

  Modified:    src/java/org/apache/james/nntpserver/repository
                        NNTPArticleImpl.java
  Log:
  Fix for very specific and helpful bug report with test case filed by
  christian.buchegger@planet-interkom.de.
  
  For more information see:
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16244
  
  Revision  Changes    Path
  1.16      +4 -0      jakarta-james/src/java/org/apache/james/nntpserver/repository/NNTPArticleImpl.java
  
  Index: NNTPArticleImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/nntpserver/repository/NNTPArticleImpl.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- NNTPArticleImpl.java	18 Jan 2003 22:02:59 -0000	1.15
  +++ NNTPArticleImpl.java	19 Jan 2003 21:36:26 -0000	1.16
  @@ -86,6 +86,10 @@
               reader = new BufferedReader(new FileReader(articleFile));
               String line = null;
               while ( ( line = reader.readLine() ) != null ) {
  +                // add extra dot if line starts with '.'
  +                // '.' indicates end of article.
  +                if ( line.startsWith(".") )
  +                    prt.print(".");
                   prt.println(line);
               }
           } catch(IOException ex) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message