From 93eeea856fd7088e4ed58aa6eb7276aee07ab78d Mon Sep 17 00:00:00 2001 From: fabjuuuh Date: Fri, 16 Oct 2020 15:06:38 +0200 Subject: [PATCH] errors --- DoctorApp/Utils/Client.cs | 2 +- Server/Communication.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DoctorApp/Utils/Client.cs b/DoctorApp/Utils/Client.cs index 4477b82..757f99c 100644 --- a/DoctorApp/Utils/Client.cs +++ b/DoctorApp/Utils/Client.cs @@ -102,7 +102,7 @@ namespace DoctorApp.Utils Debug.WriteLine($"login failed \"{responseStatus}\""); } break; - /*case DataParser.START_SESSION: + case DataParser.START_SESSION: Console.WriteLine("Session started!"); break; case DataParser.STOP_SESSION: diff --git a/Server/Communication.cs b/Server/Communication.cs index 1641174..f677ddd 100644 --- a/Server/Communication.cs +++ b/Server/Communication.cs @@ -59,7 +59,7 @@ namespace Server internal void Disconnect(Client client) { clients.Remove(client); - doctor.sendMessage(DataParser.getDisconnectJson(client.username)); + Doctor.sendMessage(DataParser.getDisconnectJson(client.username)); } public void NewLogin(Client client)