From d87dab2e2582d27b6b749fc5da189b4ef1680c69 Mon Sep 17 00:00:00 2001 From: Christian Kratky Date: Mon, 21 Aug 2017 20:24:16 +0200 Subject: [PATCH] Fixed typos --- .../MQTTnet.NetFramework/Implementations/MqttServerAdapter.cs | 4 ++-- .../MQTTnet.NetStandard/Implementations/MqttServerAdapter.cs | 4 ++-- .../Implementations/MqttServerAdapter.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Frameworks/MQTTnet.NetFramework/Implementations/MqttServerAdapter.cs b/Frameworks/MQTTnet.NetFramework/Implementations/MqttServerAdapter.cs index 98b138c..92e071e 100644 --- a/Frameworks/MQTTnet.NetFramework/Implementations/MqttServerAdapter.cs +++ b/Frameworks/MQTTnet.NetFramework/Implementations/MqttServerAdapter.cs @@ -91,7 +91,7 @@ namespace MQTTnet.Implementations } catch (Exception exception) when (!(exception is ObjectDisposedException)) { - MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while acceping connection at default endpoint."); + MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while accepting connection at default endpoint."); //excessive CPU consumed if in endless loop of socket errors Thread.Sleep(TimeSpan.FromSeconds(1)); @@ -115,7 +115,7 @@ namespace MQTTnet.Implementations } catch (Exception exception) { - MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while acceping connection at TLS endpoint."); + MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while accepting connection at TLS endpoint."); //excessive CPU consumed if in endless loop of socket errors Thread.Sleep(TimeSpan.FromSeconds(1)); diff --git a/Frameworks/MQTTnet.NetStandard/Implementations/MqttServerAdapter.cs b/Frameworks/MQTTnet.NetStandard/Implementations/MqttServerAdapter.cs index bc1fd77..56c8481 100644 --- a/Frameworks/MQTTnet.NetStandard/Implementations/MqttServerAdapter.cs +++ b/Frameworks/MQTTnet.NetStandard/Implementations/MqttServerAdapter.cs @@ -89,7 +89,7 @@ namespace MQTTnet.Implementations } catch (Exception exception) { - MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while acceping connection at default endpoint."); + MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while accepting connection at default endpoint."); //excessive CPU consumed if in endless loop of socket errors Thread.Sleep(TimeSpan.FromSeconds(1)); @@ -113,7 +113,7 @@ namespace MQTTnet.Implementations } catch (Exception exception) { - MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while acceping connection at TLS endpoint."); + MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while accepting connection at TLS endpoint."); //excessive CPU consumed if in endless loop of socket errors Thread.Sleep(TimeSpan.FromSeconds(1)); diff --git a/Frameworks/MQTTnet.UniversalWindows/Implementations/MqttServerAdapter.cs b/Frameworks/MQTTnet.UniversalWindows/Implementations/MqttServerAdapter.cs index eddd671..8831198 100644 --- a/Frameworks/MQTTnet.UniversalWindows/Implementations/MqttServerAdapter.cs +++ b/Frameworks/MQTTnet.UniversalWindows/Implementations/MqttServerAdapter.cs @@ -57,7 +57,7 @@ namespace MQTTnet.Implementations } catch (Exception exception) { - MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while acceping connection at default endpoint."); + MqttTrace.Error(nameof(MqttServerAdapter), exception, "Error while accepting connection at default endpoint."); } } }