summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-11-29 15:43:30 +0000
committererdgeist <>2007-11-29 15:43:30 +0000
commitae1863f232c2a2e741f88e8d946103052cd0583a (patch)
tree00b8897bb3f31c10cc4bc07b3ade14ee01bf396f /opentracker.c
parentf697fa3dda6b2f308a8ab553b511a553d7b800a5 (diff)
Encforce setting the clock more often. This hopefully fixes a rare bug of g_now not being updated anymore.
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/opentracker.c b/opentracker.c
index 1532214..46f3beb 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -788,6 +788,9 @@ static void server_mainloop( ) {
788 ot_last_clean_time = NOW; 788 ot_last_clean_time = NOW;
789 clean_all_torrents(); 789 clean_all_torrents();
790 } 790 }
791
792 /* Enforce setting the clock */
793 signal_handler( SIGALRM );
791 } 794 }
792} 795}
793 796