]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
main: init dispatch_clock early
authorJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 17:41:38 +0000 (19:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 24 Apr 2015 17:41:38 +0000 (19:41 +0200)
src/main.c

index b7135fe8fea77170226770bf14ee187de694d398..0daab067ba4b449964ecf9fec75e92c1492ae7d8 100644 (file)
@@ -590,6 +590,7 @@ main(int argc, char **argv)
   tvheadend_webroot         = NULL;
   tvheadend_htsp_port       = 9982;
   tvheadend_htsp_port_extra = 0;
+  time(&dispatch_clock);
 
   /* Command line options */
   int         opt_help         = 0,