From: David Roden Date: Sun, 15 Jun 2008 19:53:33 +0000 (+0000) Subject: correctly terminate AllData message X-Git-Tag: svn-import~3 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a55f48314f9cdb641a2d0a216c42897798b0270d;p=jFCPlib.git correctly terminate AllData message git-svn-id: file:///home/toad/git-migration/temprepository/trunk/apps/jFCPlib@20359 67a373e5-eb02-0410-a15c-ee090a768436 --- 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; }