Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for http://forum.yacy-websuche.de/viewtopic.php?p=19910#p19910

orbitera9b9bf667b12
diff --git a/source/de/anomic/net/ftpc.java b/source/de/anomic/net/ftpc.java
index 729800b07..81da73818 100644
--- a/source/de/anomic/net/ftpc.java
+++ b/source/de/anomic/net/ftpc.java
@@ -560,7 +560,9 @@ public class ftpc {
quit();
outPrintln("---- Connection closed.");
} catch (final IOException e) {
- errPrintln("Connection to server lost.");
+ // Connection to server lost
+ // do not append any error to errPrintln because we can silently go over this error
+ // otherwise the client treats this case as an error and does not accept the result of the session
}
try {
closeConnection();