Fixed typos

This commit is contained in:
Christian Kratky
2017-08-21 20:24:16 +02:00
parent b2f9d937e1
commit d87dab2e25
3 changed files with 5 additions and 5 deletions
@@ -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));