Show
Ignore:
Timestamp:
10/11/06 13:25:18 (2 years ago)
Author:
bart
Message:

* Fix a bug in the ttl of the cache. see ticket #182

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/branches/0.9.5/cache.c

    r237 r276  
    634634                if (p->ttl) { 
    635635                    if (p->ttl < t) { 
    636                         add_assoc_long(list, "ttl", (p->ttl -t)); // ttl 
     636                        add_assoc_long(list, "ttl", p->ttl); // ttl 
    637637                    } else { 
    638638                        add_assoc_long(list, "ttl", -1); // expired