From 540a640bc66bbbf829dba8a3d816b152c2626801 Mon Sep 17 00:00:00 2001 From: shinichi Date: Fri, 16 Oct 2020 12:49:06 +0200 Subject: [PATCH] removed debuggers --- Hashing/DataParser.cs | 2 -- Server/Client.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Hashing/DataParser.cs b/Hashing/DataParser.cs index 4c3e995..9a6bc3e 100644 --- a/Hashing/DataParser.cs +++ b/Hashing/DataParser.cs @@ -128,8 +128,6 @@ namespace Util } byte messageId = bytes[4]; - System.Diagnostics.Debug.WriteLine(Encoding.ASCII.GetString(bytes.Skip(5).ToArray())); - if (messageId == 0x01) { dynamic json = JsonConvert.DeserializeObject(Encoding.ASCII.GetString(bytes.Skip(5).ToArray())); diff --git a/Server/Client.cs b/Server/Client.cs index 6e3272a..ed8e0c0 100644 --- a/Server/Client.cs +++ b/Server/Client.cs @@ -137,7 +137,7 @@ namespace Server else if (DataParser.isRawData(message)) { // print the raw data - Console.WriteLine(BitConverter.ToString(payloadbytes)); + //Console.WriteLine(BitConverter.ToString(payloadbytes)); // TODO change, checking for length is not that safe if (payloadbytes.Length == 8) {