time_caching_worker never returns, but if it would, it should return a value
parent
a6c4766348
commit
806a6b99cf
|
@ -643,6 +643,7 @@ static void *time_caching_worker(void *args) {
|
|||
g_now_seconds = time(NULL);
|
||||
sleep(5);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
|
Loading…
Reference in New Issue