From cc4c100d0eb9cbdb522d617f864706d292750c69 Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Fri, 3 Dec 2021 18:33:42 +0000 Subject: [PATCH] Correct spelling of retried --- .../SMAP/Winsock/Sessions/UDPSession/UDPSession.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } } }