From: David ‘Bombe’ Roden Date: Sun, 15 Jun 2008 19:50:12 +0000 (+0200) Subject: make message end on a Data line X-Git-Tag: v0.1.1~113 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5b5f05fc45ef4c965f96a1bfe97dbecff37b0606;p=jFCPlib.git make message end on a Data line --- 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; }