Changeset 618
- Timestamp:
- 10/03/07 20:11:09 (1 year ago)
- Files:
-
- trunk/server/ChangeLog (modified) (1 diff)
- trunk/server/items.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/server/ChangeLog
r616 r618 9 9 when exptime == 0 items are kicked off the cache. 10 10 from Jean-Francois BUSTARRET <jfbustarret@wat.tv>. 11 11 12 * Fix for do_item_cachedump() which was returning 13 an incorrect timestamp. 14 12 15 2007-08-21 Paul Lindner <lindner@inuus.com> 13 16 * Incorporate incrememnt patch from Evan Miller trunk/server/items.c
r616 r618 284 284 285 285 while (it != NULL && (limit == 0 || shown < limit)) { 286 len = snprintf(temp, sizeof(temp), "ITEM %s [%d b; %lu s]\r\n", ITEM_key(it), it->nbytes - 2, it-> time + stats.started);286 len = snprintf(temp, sizeof(temp), "ITEM %s [%d b; %lu s]\r\n", ITEM_key(it), it->nbytes - 2, it->exptime + stats.started); 287 287 if (bufcurr + len + 6 > memlimit) /* 6 is END\r\n\0 */ 288 288 break;
