summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index 532fdd5..d4b0489 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/IvyClient.cs
@@ -154,16 +154,15 @@ namespace IvyBus
clientKey = clientSerial++;
in_stream = new StreamReader(socket.GetStream(),System.Text.Encoding.ASCII);
out_stream = new StreamWriter(socket.GetStream(),System.Text.Encoding.ASCII);
- Hashtable regexps = bus.regexp_out;
// sends our ID, whether we initiated the connexion or not
// the ID is the couple "host name,application Port", the host name
// information is in the socket itself, the port is not known if we
// initiate the connexion
send(MessageType.StartRegexp, bus.applicationPort, bus.appName);
// sends our regexps to the peer
- foreach (Int32 ikey in regexps.Keys )
+ foreach (Int32 ikey in bus.regexp_out.Keys )
{
- sendRegexp(ikey, (String) regexps[ikey]);
+ sendRegexp(ikey, (String) bus.regexp_out[ikey]);
}
send(MessageType.EndRegexp, 0, "");
// spawns a thread to manage the incoming traffic on this