Index: libtorrent/src/data/chunk_list.cc
===================================================================
--- libtorrent/src/data/chunk_list.cc	(revision 739)
+++ libtorrent/src/data/chunk_list.cc	(working copy)
@@ -257,7 +257,7 @@
 
   if (std::distance(split, m_queue.end()) > (difference_type)m_maxQueueSize)
     force = true;
-  else if (std::for_each(split, m_queue.end(), chunk_list_earliest_modified()).m_time + rak::timer::from_seconds(m_timeoutSync) >= cachedTime)
+  else if (std::for_each(split, m_queue.end(), chunk_list_earliest_modified()).m_time + rak::timer::from_seconds(m_timeoutSync) < cachedTime)
     force = false;
   else
     return 0;
@@ -277,7 +277,7 @@
 
       std::iter_swap(itr, split++);
 
-    } else if (force || (*itr)->time_modified() + rak::timer::from_seconds(m_timeoutSafeSync) >= cachedTime) {
+    } else if (force || (*itr)->time_modified() + rak::timer::from_seconds(m_timeoutSafeSync) < cachedTime) {
       // When constrained of space, it triggers sync just one period
       // after async. Else it waits for the safe sync timeout.
       if (!sync_chunk(*itr, MemoryChunk::sync_sync, true)) {

