[kaffe] CVS kaffe (dalibor): Resynced with GNU inetlib
Kaffe CVS
cvs-commits at kaffe.org
Sun Aug 22 15:35:59 PDT 2004
PatchSet 5094
Date: 2004/08/22 22:32:08
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU inetlib
2004-08-22 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/gnu/inet/nntp/NNTPConnection.java:
Resynced with GNU inetlib.
Members:
ChangeLog:1.2652->1.2653
libraries/javalib/gnu/inet/nntp/NNTPConnection.java:1.2->1.3
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2652 kaffe/ChangeLog:1.2653
--- kaffe/ChangeLog:1.2652 Sun Aug 22 20:06:10 2004
+++ kaffe/ChangeLog Sun Aug 22 22:32:08 2004
@@ -1,5 +1,10 @@
2004-08-22 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/gnu/inet/nntp/NNTPConnection.java:
+ Resynced with GNU inetlib.
+
+2004-08-22 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/java/security/cert/X509CRLSelector.java (match):
Removed unnecessary throws clauses.
Index: kaffe/libraries/javalib/gnu/inet/nntp/NNTPConnection.java
diff -u kaffe/libraries/javalib/gnu/inet/nntp/NNTPConnection.java:1.2 kaffe/libraries/javalib/gnu/inet/nntp/NNTPConnection.java:1.3
--- kaffe/libraries/javalib/gnu/inet/nntp/NNTPConnection.java:1.2 Mon Aug 9 14:38:08 2004
+++ kaffe/libraries/javalib/gnu/inet/nntp/NNTPConnection.java Sun Aug 22 22:32:09 2004
@@ -1,5 +1,5 @@
/*
- * $Id: NNTPConnection.java,v 1.2 2004/08/09 14:38:08 dalibor Exp $
+ * $Id: NNTPConnection.java,v 1.3 2004/08/22 22:32:09 dalibor Exp $
* Copyright (C) 2002 The Free Software Foundation
*
* This file is part of GNU inetlib, a library.
@@ -65,7 +65,7 @@
* server.
*
* @author <a hef='mailto:dog at gnu.org'>Chris Burdess</a>
- * @version $Revision: 1.2 $ $Date: 2004/08/09 14:38:08 $
+ * @version $Revision: 1.3 $ $Date: 2004/08/22 22:32:09 $
*/
public class NNTPConnection
implements NNTPConstants
@@ -1238,6 +1238,10 @@
protected StatusResponse parseResponse (String line, boolean isListGroup)
throws ProtocolException
{
+ if (line == null)
+ {
+ throw new ProtocolException (hostname + " closed connection");
+ }
int start = 0, end;
short status = -1;
String statusText = line;
More information about the kaffe
mailing list