summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyProbe
diff options
context:
space:
mode:
authorfcolin2007-02-01 10:06:21 +0000
committerfcolin2007-02-01 10:06:21 +0000
commit1286b0317e5a46f09ee680ceaa0bfa3d9156e843 (patch)
tree01fc22e87ae0a8e5b395a94a574e7eddeb00a44d /CSharp/Ivy/IvyProbe
parentff79d3d9364f5f1d1a13ae4e5736f759daa6a7ff (diff)
downloadivy-csharp-1286b0317e5a46f09ee680ceaa0bfa3d9156e843.zip
ivy-csharp-1286b0317e5a46f09ee680ceaa0bfa3d9156e843.tar.gz
ivy-csharp-1286b0317e5a46f09ee680ceaa0bfa3d9156e843.tar.bz2
ivy-csharp-1286b0317e5a46f09ee680ceaa0bfa3d9156e843.tar.xz
Utilisateur : Fcolin Date : 8/02/06 Heure : 12:16 Archivé dans $/CSharp/Ivy/IvyProbe Commentaire: (vss 16)
Diffstat (limited to 'CSharp/Ivy/IvyProbe')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs7
1 files changed, 2 insertions, 5 deletions
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);
}