From 88a5b34430159c860ea07ec50aeedf181a910e24 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 16 Mar 2013 01:50:31 +0100 Subject: [PATCH] Break instead of returning. --- src/main/java/net/pterodactylus/sonitus/data/Connection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sonitus/data/Connection.java b/src/main/java/net/pterodactylus/sonitus/data/Connection.java index 762ba02..aa28710 100644 --- a/src/main/java/net/pterodactylus/sonitus/data/Connection.java +++ b/src/main/java/net/pterodactylus/sonitus/data/Connection.java @@ -55,7 +55,7 @@ public abstract class Connection implements Runnable { byte[] buffer = source.get(bufferSize()); feed(buffer); } catch (IOException e) { - return; + break; } } } -- 2.7.4