Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2018-08-14 09:04:58 +09:00
parent 9de1dc3705
commit 6e865d62f0
2 changed files with 1 additions and 6 deletions

View File

@@ -104,7 +104,7 @@ void BrokerRecvTask::run(void)
{
client = _gateway->getClientList()->getClient(0);
while (client > 0)
while ( client )
{
_light->blueLight(false);
if (client->getNetwork()->isValid())

View File

@@ -191,11 +191,6 @@ void Gateway::initialize(int argc, char** argv)
_params.keepAlive = atoi(param);
}
if (_params.keepAlive > 65536)
{
throw Exception("Gateway::initialize: KeepAliveTime is grater than 65536 Secs");
}
if (getParam("LoginID", param) == 0)
{
_params.loginId = strdup(param);