Code cleanup, removed debug messages
This commit is contained in:
parent
6796129cb5
commit
475fdb9d59
6 changed files with 5 additions and 32 deletions
|
@ -7,13 +7,13 @@
|
|||
#define _CRT_RAND_S
|
||||
#include "service/Controller.h"
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include "service/Protocol.h"
|
||||
#include "service/EventUpdateManager.h"
|
||||
#include "common/Strings.h"
|
||||
#include "common/common.h" // debug
|
||||
|
||||
inline int random( unsigned int* seed ) {
|
||||
#ifdef _WINDOWS
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <vector>
|
||||
#endif // _LINUX
|
||||
|
||||
#include "common/common.h" // debug
|
||||
#include "common/EventHandler.h"
|
||||
#include "common/Message.h"
|
||||
#include "common/Socket.h"
|
||||
|
@ -165,7 +164,6 @@ void EventUpdateManager::sendMessageToClients(EventUpdateData *data) {
|
|||
it++;
|
||||
} else {
|
||||
// connection is dead, remove it
|
||||
debuglogservice(0, "Lost connection, removing it");
|
||||
delete *it;
|
||||
it = d->clients.erase(it);
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
#include "common/common.h" // debug
|
||||
#include "common/EventHandler.h"
|
||||
#include "service/ClientCommunicationHandler.h"
|
||||
#include "service/ConnectionListener.h"
|
||||
|
@ -63,7 +62,6 @@ void TelldusMain::suspend() {
|
|||
}
|
||||
|
||||
void TelldusMain::start(void) {
|
||||
debuglogservice(0, "Starting service");
|
||||
TelldusCore::EventRef clientEvent = d->eventHandler.addEvent();
|
||||
TelldusCore::EventRef dataEvent = d->eventHandler.addEvent();
|
||||
TelldusCore::EventRef executeActionEvent = d->eventHandler.addEvent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue