Minor update: code compacting
This commit is contained in:
@@ -79,8 +79,7 @@ bool CWatchdogCore::Process()
|
||||
CSelectableCore::Process();
|
||||
|
||||
// Watchdog ping
|
||||
if (Timeout( PingTimer, PingInterval ))
|
||||
{
|
||||
if (Timeout( PingTimer, PingInterval )) {
|
||||
// Send command
|
||||
OutputHandle( Ping, Protocol->GetCommandStr(), Protocol->GetCommandLen() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user