Browse Source

trunk: fixed #48, was leaking info when cacher is not enabled by size

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@279 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent
commit
b074ef2c25
  1. 7
      xcache.c

7
xcache.c

@ -1581,13 +1581,12 @@ static void xcache_admin_operate(xcache_op_type optype, INTERNAL_FUNCTION_PARAME
xc_cache_t **caches, *cache;
long id = 0;
xcache_admin_auth_check(TSRMLS_C);
if (!xc_initized) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "XCache is not initized");
RETURN_FALSE;
RETURN_NULL();
}
xcache_admin_auth_check(TSRMLS_C);
if (optype == XC_OP_COUNT) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type) == FAILURE) {
return;

Loading…
Cancel
Save