From 1286b0317e5a46f09ee680ceaa0bfa3d9156e843 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 10:06:21 +0000 Subject: Utilisateur : Fcolin Date : 8/02/06 Heure : 12:16 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 16) --- CSharp/Ivy/IvyProbe/IvyProbe.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'CSharp') diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs index 6748262..8440358 100644 --- a/CSharp/Ivy/IvyProbe/IvyProbe.cs +++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs @@ -66,11 +66,8 @@ namespace IvyProbe private void receive(IvyClient client, string[] args) { string receive_str = "client " + client.ApplicationName + " envoie: ["; - for (int i = 0; i < args.Length; i++) - { - receive_str += args[i]+ ","; - } - receive_str = receive_str.TrimEnd(new char[] { ',' }); + + receive_str += string.Join(",",args); receive_str += "]"; append(receive_str); } -- cgit v1.1