X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=powersensordaemon%2Fcommand_queue.c;h=e1dbba2c06ce96b463ad6b1a71f0ea596dc439af;hp=09fea0be7df09ec77bc61ca48f405e068b911258;hb=efb533dcb175bf15fd003a635d77b6ff15756b6f;hpb=44da1f523dcdaf2fef158076f138ac8be5cb89fe diff --git a/powersensordaemon/command_queue.c b/powersensordaemon/command_queue.c index 09fea0b..e1dbba2 100644 --- a/powersensordaemon/command_queue.c +++ b/powersensordaemon/command_queue.c @@ -86,7 +86,7 @@ int cmd_has_expired(cmd_t cmd) struct timeval now; timerclear(&now); gettimeofday(&now, NULL); - cmd.tv_start.tv_sec++; + cmd.tv_start.tv_sec+=2; return timercmp(&cmd.tv_start, &now, <); }