diff --git a/src/timerd/timerd.cpp b/src/timerd/timerd.cpp index 8037b9db2..3b6206097 100644 --- a/src/timerd/timerd.cpp +++ b/src/timerd/timerd.cpp @@ -63,8 +63,8 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd) { for (pos = events.begin(); pos != events.end(); ++pos) { - printf("ID: %u type: %u\n",pos->second->eventID,pos->second->eventType); - if(pos->second->eventType == CTimerd::TIMER_SLEEPTIMER) +// printf("ID: %u type: %u\n",pos->second->eventID,pos->second->eventType); + if(pos->second->eventType == CTimerd::TIMER_SLEEPTIMER && pos->second->eventState != CTimerd::TIMERSTATE_TERMINATED) { rspGetSleeptimer.eventID = pos->second->eventID; break;