[memcached] nneul, r322: fix breakage in expiration time processi...

commits at code.sixapart.com commits at code.sixapart.com
Sun Sep 3 12:58:10 UTC 2006


fix breakage in expiration time processing of commands

U   trunk/server/ChangeLog
U   trunk/server/memcached.c


Modified: trunk/server/ChangeLog
===================================================================
--- trunk/server/ChangeLog	2006-09-03 03:19:03 UTC (rev 321)
+++ trunk/server/ChangeLog	2006-09-03 12:58:09 UTC (rev 322)
@@ -1,3 +1,7 @@
+2006-09-02
+	* Nathan Neulinger <nneul at umr.edu>: fix breakage in expiration code
+	  causing expiration times to not be processed correctly.
+
 2006-08-21
 	* Nathan Neulinger <nneul at umr.edu>: fix incompatabilities with
 	  unix domain socket support and the UDP code and clean up stale 

Modified: trunk/server/memcached.c
===================================================================
--- trunk/server/memcached.c	2006-09-03 03:19:03 UTC (rev 321)
+++ trunk/server/memcached.c	2006-09-03 12:58:09 UTC (rev 322)
@@ -814,7 +814,7 @@
         }
 
         expire = realtime(expire);
-        it = item_alloc(key, flags, realtime(expire), len+2);
+        it = item_alloc(key, flags, expire, len+2);
 
         if (it == 0) {
             if (! item_size_ok(key, flags, len + 2))




More information about the memcached-commits mailing list