make message end on a Data line
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 15 Jun 2008 19:50:12 +0000 (21:50 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sun, 15 Jun 2008 19:50:12 +0000 (21:50 +0200)
src/net/pterodactylus/fcp/FcpConnectionHandler.java

index 8232ace..59925e6 100644 (file)
@@ -83,7 +83,7 @@ class FcpConnectionHandler implements Runnable {
                                        fcpMessage = new FcpMessage(line);
                                        continue;
                                }
-                               if ("EndMessage".equals(line)) {
+                               if ("EndMessage".equals(line) || "Data".equals(line)) {
                                        fcpConnection.handleMessage(fcpMessage);
                                        fcpMessage = null;
                                }