From 36e928dd56f1cdb787abd8fb01463189ed7d2ed8 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 8 Jul 2004 09:11:37 +0000 Subject: [PATCH] autoflush connections darcs-hash:20040708091137-5007d-797552e694ea19b1965d957ef9c30afe4e928b3c.gz --- src/org/ibex/io/Stream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/ibex/io/Stream.java b/src/org/ibex/io/Stream.java index a1bf021..b218d28 100644 --- a/src/org/ibex/io/Stream.java +++ b/src/org/ibex/io/Stream.java @@ -55,7 +55,7 @@ public class Stream { public void unread(String s) { in.unread(s); } public void println() { println(""); } - public void println(String s) { logWrite(s); out.write(s); out.write(newLine); } + public void println(String s) { logWrite(s); out.write(s); out.write(newLine); flush(); } public void flush() { if (out != null) try { out.w.flush(); } catch(IOException e) { ioe(e); } } public void close() { in.close(); out.close(); } -- 1.7.10.4