1
0
Fork 0

correct cache class index

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@667 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 14 years ago
parent 294075fc4c
commit 7a6edb78d4

@ -193,7 +193,7 @@ static zend_ulong xc_get_class_num(xc_processor_t *processor, zend_class_entry *
ceptr = CestToCePtr(php->classinfos[i].cest);
if (ZCEP_REFCOUNT_PTR(ceptr) == ZCEP_REFCOUNT_PTR(ce)) {
processor->cache_ce = ceptr;
processor->cache_class_index = i + 1;
processor->cache_class_index = i;
return i + 1;
}
}

Loading…
Cancel
Save