org/sonews/util/io/ArticleWriter.java
changeset 23 e4345a26f81f
parent 3 2fdc9cc89502
     1.1 --- a/org/sonews/util/io/ArticleWriter.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/util/io/ArticleWriter.java	Wed Aug 26 10:55:59 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      }