(sync_output_header): Extract the seconds from the current_time.
(sync_part): Return a struct timeval instead of a long. Use struct timeval instead of a time_t. Use timeval_remaining() to simplify the code. (init_cache): Use a struct timeval instead of time_t. (cache_sync_all): Adjusted to new API of sync_part().
Please register or sign in to comment