Show
Ignore:
Timestamp:
08/20/07 15:40:19 (1 year ago)
Author:
bart
Message:

Rewrite the fixup_* functions they no longer use the EAG(mem) global

Files:

Legend:

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

    r330 r331  
    416416                        EAG(mem) = (char *) ((long) p - (long) p->next); 
    417417                        EAG(compress) = 1; 
    418                         fixup_zval(&p->value TSRMLS_CC); 
     418                        fixup_zval(((char *) ((long) p - (long) p->next)), &p->value TSRMLS_CC); 
    419419 
    420420                        if (strcmp(xkey, p->key) != 0) {