From 4ab67210b63fb7157f789bb73a3fa496ca8f8aab Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 10 Mar 2018 00:32:32 +0100 Subject: [PATCH] TD2: Avoid to duplicate newline. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .gitignore | 2 ++ TD2/ClientSimplifie.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b5705d3..885da23 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ hs_err_pid* # editor trash *.swp *~ + +.DS_Store diff --git a/TD2/ClientSimplifie.java b/TD2/ClientSimplifie.java index c5eb31a..f5ccb40 100644 --- a/TD2/ClientSimplifie.java +++ b/TD2/ClientSimplifie.java @@ -44,7 +44,7 @@ public class ClientSimplifie { } public void sendMsg(String msg) { - ecriture.println(msg + "\n"); + ecriture.println(msg); ecriture.flush(); } -- 2.34.1