|
@@ -1497,7 +1497,8 @@ int main(void)
|
|
|
// Sign in
|
|
|
if((GetServerSign() == FALSE) &&
|
|
|
(isConnectorInitMode(0) != TRUE) &&
|
|
|
- ( ((GetBootNotificationInterval() != 0) && ((time((time_t*)NULL)-startTime.bootNotification)>= GetBootNotificationInterval())) || ((time((time_t*)NULL)-startTime.bootNotification) >= defaultWaitingTime) ) )
|
|
|
+ ( (GetBootNotificationInterval()>0) ? ((time((time_t*)NULL)-startTime.bootNotification) >= GetBootNotificationInterval()) : ((time((time_t*)NULL)-startTime.bootNotification) >= defaultWaitingTime) )
|
|
|
+ )
|
|
|
{
|
|
|
sendBootNotificationRequest();
|
|
|
startTime.bootNotification=time((time_t*)NULL);
|