diff options
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs')
-rw-r--r-- | CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs b/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs index 547bb48..9d6d828 100644 --- a/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs +++ b/CSharp/Ivy/IvyPPC/IvyTCPStreamV3.cs @@ -199,7 +199,7 @@ namespace IvyBus case MessageType.Msg:
// a bad protocol implementation in C add a delimiter to the end of each arg
// we must remove a delimiter to the end
- msgData = msgData.Remove(msgData.Length - 1);
+ msgData = msgData.Remove(msgData.Length - 1,1);
receiver.TokenMsg(msgId, msgData.Split( ARG_END ));
break;
|