From 5b5f05fc45ef4c965f96a1bfe97dbecff37b0606 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 15 Jun 2008 21:50:12 +0200 Subject: [PATCH] make message end on a Data line --- src/net/pterodactylus/fcp/FcpConnectionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/fcp/FcpConnectionHandler.java b/src/net/pterodactylus/fcp/FcpConnectionHandler.java index 8232ace..59925e6 100644 --- a/src/net/pterodactylus/fcp/FcpConnectionHandler.java +++ b/src/net/pterodactylus/fcp/FcpConnectionHandler.java @@ -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; } -- 2.7.4