From a55f48314f9cdb641a2d0a216c42897798b0270d Mon Sep 17 00:00:00 2001 From: David Roden Date: Sun, 15 Jun 2008 19:53:33 +0000 Subject: [PATCH] correctly terminate AllData message git-svn-id: file:///home/toad/git-migration/temprepository/trunk/apps/jFCPlib@20359 67a373e5-eb02-0410-a15c-ee090a768436 --- 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 ba6b86b..d5784bb 100644 --- a/src/net/pterodactylus/fcp/FcpConnectionHandler.java +++ b/src/net/pterodactylus/fcp/FcpConnectionHandler.java @@ -84,7 +84,7 @@ class FcpConnectionHandler implements Runnable { fcpMessage = new FcpMessage(line); continue; } - if ("EndMessage".equals(line)) { + if ("EndMessage".equalsIgnoreCase(line) || "Data".equalsIgnoreCase(line)) { fcpConnection.handleMessage(fcpMessage); fcpMessage = null; } -- 2.7.4