Changeset e55c172 in git


Ignore:
Timestamp:
2006-12-03T02:58:06Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
9b16660, fb614ff
Parents:
a915383
Message:

kill warnings for debug

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@297 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    ra915383 re55c172  
    244244{
    245245#ifdef DEBUG
    246     fprintf(stderr, "hold %s\n", ZSTR_S(xce->name));
     246    fprintf(stderr, "hold %s\n", xce->name.str.val);
    247247#endif
    248248    xce->refcount ++;
     
    291291{
    292292#ifdef DEBUG
    293     fprintf(stderr, "ttl %d, %d %d\n", XG(request_time), entry->atime, xc_php_ttl);
     293    fprintf(stderr, "ttl %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) entry->atime, xc_php_ttl);
    294294#endif
    295295    if (XG(request_time) > entry->atime + xc_php_ttl) {
     
    310310{
    311311#ifdef DEBUG
    312     fprintf(stderr, "interval %d, %d %d\n", XG(request_time), cache->last_gc_expires, gc_interval);
     312    fprintf(stderr, "interval %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) cache->last_gc_expires, gc_interval);
    313313#endif
    314314    if (XG(request_time) - cache->last_gc_expires >= gc_interval) {
     
    632632                    xce = (xc_entry_t*) xc_stack_pop(s);
    633633#ifdef DEBUG
    634                     fprintf(stderr, "unhold %s\n", ZSTR_S(xce->name));
     634                    fprintf(stderr, "unhold %s\n", xce->name.str.val);
    635635#endif
    636636                    xce->refcount --;
Note: See TracChangeset for help on using the changeset viewer.