Changeset 1446 in svn for trunk/mod_cacher/xc_cacher.c


Ignore:
Timestamp:
2013-11-07T09:44:15+01:00 (19 months ago)
Author:
Xuefer
Message:

update relocate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1444 r1446  
    179179#if 1
    180180    {
    181         char *p = malloc(stored_php->size);
    182         fprintf(stderr, "%d\n", stored_php->size);
     181        xc_entry_data_php_t *p = malloc(stored_php->size);
     182        fprintf(stderr, "%lu\n", stored_php->size);
    183183        memcpy(p, stored_php, stored_php->size);
    184         /*
    185         xc_processor_relocate_xc_entry_data_php_t(p, p, 0, stored_php TSRMLS_CC);
    186         */
     184        xc_processor_relocate_xc_entry_data_php_t(p, stored_php, p TSRMLS_CC);
    187185    }
    188186#endif
Note: See TracChangeset for help on using the changeset viewer.