org/sonews/util/io/ArticleWriter.java
changeset 18 7e527fdf0fa8
parent 3 2fdc9cc89502
     1.1 --- a/org/sonews/util/io/ArticleWriter.java	Thu Aug 20 22:18:45 2009 +0200
     1.2 +++ b/org/sonews/util/io/ArticleWriter.java	Fri Aug 21 17:33:15 2009 +0200
     1.3 @@ -65,7 +65,7 @@
     1.4      this.out.write("\r\n.\r\n".getBytes());
     1.5      this.out.flush();
     1.6      String line = inr.readLine();
     1.7 -    if(line == null || !line.startsWith("240 "))
     1.8 +    if(line == null || !line.startsWith("240 ") || !line.startsWith("441 "))
     1.9      {
    1.10        throw new IOException(line);
    1.11      }