diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2017-01-03 04:01:28 +0000 |
---|---|---|
committer | Josh Soref <jsoref@users.noreply.github.com> | 2017-01-03 04:01:28 +0000 |
commit | 45454d8d7f3e97e3e98116f5c9475688727f2d0a (patch) | |
tree | dd69919a4a8e253d7d5d108eeb31a73cc69a9b4a /tools/EventClients | |
parent | fa383a1853081428ddf45eb1b541c7495d60c1dc (diff) |
spelling: local variables
Diffstat (limited to 'tools/EventClients')
-rw-r--r-- | tools/EventClients/lib/c#/EventClient.cs | 6 | ||||
-rw-r--r-- | tools/EventClients/lib/c++/xbmcclient.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/EventClients/lib/c#/EventClient.cs b/tools/EventClients/lib/c#/EventClient.cs index c28fdfa26b..c9657dffac 100644 --- a/tools/EventClients/lib/c#/EventClient.cs +++ b/tools/EventClients/lib/c#/EventClient.cs @@ -211,7 +211,7 @@ namespace XBMC try { - bool successfull = true; + bool successful = true; int packetCount = (Payload.Length / MAX_PAYLOAD_SIZE) + 1; int bytesToSend = 0; int bytesSent = 0; @@ -241,7 +241,7 @@ namespace XBMC if (sendSize != (header.Length + bytesToSend)) { - successfull = false; + successful = false; break; } @@ -249,7 +249,7 @@ namespace XBMC } - return successfull; + return successful; } catch diff --git a/tools/EventClients/lib/c++/xbmcclient.h b/tools/EventClients/lib/c++/xbmcclient.h index 86e4b4a75d..3633b57d9d 100644 --- a/tools/EventClients/lib/c++/xbmcclient.h +++ b/tools/EventClients/lib/c++/xbmcclient.h @@ -204,7 +204,7 @@ public: { if (m_Payload.empty()) ConstructPayload(); - bool SendSuccessfull = true; + bool SendSuccessful = true; int NbrOfPackages = (m_Payload.size() / MAX_PAYLOAD_SIZE) + 1; int Send = 0; int Sent = 0; @@ -234,11 +234,11 @@ public: int rtn = sendto(Socket, t, (32 + Send), 0, Addr.GetAddress(), sizeof(struct sockaddr)); if (rtn != (32 + Send)) - SendSuccessfull = false; + SendSuccessful = false; Sent += Send; } - return SendSuccessfull; + return SendSuccessful; } protected: char m_Header[HEADER_SIZE]; |