Removed whitespace after line end, accoring to Google style guidelines "whitespace/end_of_line"
This commit is contained in:
parent
e38eb0f72d
commit
fb79664508
6 changed files with 53 additions and 57 deletions
|
@ -59,7 +59,6 @@ void EventHandler::signal(Event *event) {
|
|||
}
|
||||
|
||||
bool EventHandler::waitForAny() {
|
||||
|
||||
while(1) {
|
||||
int result = WaitForMultipleObjects(d->eventCount, d->eventArray, FALSE, 1000);
|
||||
if (result == WAIT_TIMEOUT) {
|
||||
|
|
|
@ -59,7 +59,7 @@ void Socket::connect(const std::wstring &server) {
|
|||
0, // no sharing
|
||||
NULL, // default security attributes
|
||||
OPEN_EXISTING, // opens existing pipe
|
||||
FILE_FLAG_OVERLAPPED, // default attributes
|
||||
FILE_FLAG_OVERLAPPED, // default attributes
|
||||
NULL); // no template file
|
||||
|
||||
if (d->hPipe == INVALID_HANDLE_VALUE) {
|
||||
|
|
|
@ -60,7 +60,6 @@ ConnectionListener::ConnectionListener(const std::wstring &name, TelldusCore::Ev
|
|||
ea.Trustee.TrusteeType = TRUSTEE_IS_WELL_KNOWN_GROUP;
|
||||
ea.Trustee.ptstrName = (LPTSTR) pEveryoneSID;
|
||||
|
||||
|
||||
// Add the ACL to the security descriptor.
|
||||
if (!SetSecurityDescriptorDacl(pSD,
|
||||
TRUE, // bDaclPresent flag
|
||||
|
|
|
@ -133,7 +133,6 @@ int Settings::getNextNodeId(Node type) const {
|
|||
long lnExists = RegCreateKeyEx(d->rootKey, d->getNodePath(type).c_str(), 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hk, &dwDisp); //create or open if already created
|
||||
|
||||
if(lnExists == ERROR_SUCCESS) {
|
||||
|
||||
DWORD dwLength = sizeof(DWORD);
|
||||
DWORD nResult(0);
|
||||
|
||||
|
@ -146,7 +145,6 @@ int Settings::getNextNodeId(Node type) const {
|
|||
}
|
||||
DWORD dwVal = intReturn;
|
||||
RegSetValueEx (hk, L"LastUsedId", 0L, REG_DWORD, (CONST BYTE*) &dwVal, sizeof(DWORD));
|
||||
|
||||
}
|
||||
RegCloseKey(hk);
|
||||
return intReturn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue