diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2017-01-11 22:30:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 22:30:16 +0100 |
commit | 61f212f75c69a7478b93cf87075dc305734320b4 (patch) | |
tree | 0a0c88732023eadbd92b6155c760c8b3d09c79d3 /tools/EventClients/lib | |
parent | f0655ec4881318357ea8377e9edee44190f6ce5a (diff) | |
parent | 45454d8d7f3e97e3e98116f5c9475688727f2d0a (diff) |
Merge pull request #11412 from jsoref/spelling-locals
Diffstat (limited to 'tools/EventClients/lib')
-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]; |