diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-02-22 03:50:08 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-02-22 03:50:08 +0100 |
commit | cda796bd4388f727b6dd7d1c940e793946a535ca (patch) | |
tree | 9b035a458452f9042fe64dd45e2304b72eb9a2b8 | |
parent | dc1fd0de7fcc249036b8dd570ec29b2349587624 (diff) |
Enable delayed-start code.
-rw-r--r-- | hieronymus/hieronymus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hieronymus/hieronymus.c b/hieronymus/hieronymus.c index 35ea6c2..6506f8c 100644 --- a/hieronymus/hieronymus.c +++ b/hieronymus/hieronymus.c @@ -91,9 +91,6 @@ now (void) struct timeval t; struct timezone tz; - /* XXX */ - return 0; - if (gettimeofday( &t, &tz ) == -1) return 0; return (t.tv_sec * 1000000ULL + t.tv_usec); @@ -312,7 +309,7 @@ main (int argc, char *argv[]) modules[i].name, modules[i].delay, modules[i].delay - (int) ((start - epoch) / 1000000ULL)); - if (/* XXX */ 1 || modules[i].delay * 1000000ULL < start - epoch) + if (modules[i].delay * 1000000ULL < start - epoch) { started ++; modules[i].delay = -1U; |