[memcached] bradfitz, r383: expire at the expire time. fixes test.

commits at code.sixapart.com commits at code.sixapart.com
Sat Sep 9 19:28:52 UTC 2006


expire at the expire time.  fixes test.

U   branches/memcached-1.1.x/memcached.c


Modified: branches/memcached-1.1.x/memcached.c
===================================================================
--- branches/memcached-1.1.x/memcached.c	2006-09-09 17:16:20 UTC (rev 382)
+++ branches/memcached-1.1.x/memcached.c	2006-09-09 19:28:51 UTC (rev 383)
@@ -292,7 +292,7 @@
             old_it = 0;
         }
 
-        if (old_it && old_it->exptime && old_it->exptime < now) {
+        if (old_it && old_it->exptime && old_it->exptime <= now) {
             item_unlink(old_it);
             old_it = 0;
         }




More information about the memcached-commits mailing list