Show
Ignore:
Timestamp:
07/28/10 19:14:05 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1280344445 +0000
git-parent:

[5e4903b4cc8d802f21febff04aef8c6f7a8dea93]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1280344445 +0000
Message:

only respect the hearbeat once it has started.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/utils/noit_watchdog.c

    r4790fc8 re932bb8  
    6363    memcpy(&lastchange, &now, sizeof(lastchange)); 
    6464  } 
     65  if(lastchange.tv_sec == 0) return 0; 
     66 
    6567  sub_timeval(now, lastchange, &diff); 
    6668  return (unsigned long)diff.tv_sec;