Skip to content

Commit

Permalink
Correct spelling of retried
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar committed Dec 3, 2021
1 parent c435862 commit cc4c100
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CLR_DEV9/DEV9/SMAP/Winsock/Sessions/UDPSession/UDPSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class UDPSession : Session
//EndBroadcast

//UDP Retry on fail
bool hasRetryed = false;
bool hasRetried = false;
object retrySentry = new object();
//

Expand Down Expand Up @@ -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);
Expand All @@ -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;
}
}
}
Expand Down

0 comments on commit cc4c100

Please sign in to comment.