diff --git a/CLR_DEV9/DEV9/SMAP/Winsock/Sessions/UDPSession/UDPSession.cs b/CLR_DEV9/DEV9/SMAP/Winsock/Sessions/UDPSession/UDPSession.cs index 7d889a6..8fc4afd 100644 --- a/CLR_DEV9/DEV9/SMAP/Winsock/Sessions/UDPSession/UDPSession.cs +++ b/CLR_DEV9/DEV9/SMAP/Winsock/Sessions/UDPSession/UDPSession.cs @@ -21,7 +21,7 @@ class UDPSession : Session //EndBroadcast //UDP Retry on fail - bool hasRetryed = false; + bool hasRetried = false; object retrySentry = new object(); // @@ -247,7 +247,7 @@ public override bool Send(IPPayload payload) } catch (SocketException err) { - if (!hasRetryed) + if (!hasRetried) { Log_Error("UDP Send Error: " + err.Message); Log_Error("Error Code: " + err.ErrorCode); @@ -265,11 +265,11 @@ public override bool Send(IPPayload payload) //And retry sending client.Send(udp.GetPayload(), udp.GetPayload().Length); - if (!hasRetryed) + if (!hasRetried) { - Log_Error("Retryed send"); + Log_Error("Retried send"); Log_Error("Hiding further errors from this connection"); - hasRetryed = true; + hasRetried = true; } } }