summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-11-10 06:08:53 +0000
committerXuefer <xuefer@gmail.com>2014-11-10 06:08:53 +0000
commitcaa8966009576da40eebb8b511344ec838411067 (patch)
tree4d16ae193acbda1b3a157388e93e2312251cd694 /processor
parentde6840d14b68c991a1408b752962aef14047ff8c (diff)
downloadxcache-caa8966009576da40eebb8b511344ec838411067.tar.gz
xcache-caa8966009576da40eebb8b511344ec838411067.zip
remove test code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1559 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'processor')
-rw-r--r--processor/var-helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/processor/var-helper.h b/processor/var-helper.h
index 35d5f48..f009166 100644
--- a/processor/var-helper.h
+++ b/processor/var-helper.h
@@ -63,7 +63,7 @@ static zend_class_entry *xc_var_index_to_ec(xc_processor_t *processor, size_t in
xc_constant_string_t *name = &processor->entry_var_src->class_names[index];
zend_class_entry *ce;
- if (!(ce = xc_lookup_class(name->str, name->len+1 TSRMLS_CC))) {
+ if (!(ce = xc_lookup_class(name->str, name->len TSRMLS_CC))) {
ce = zend_standard_class_def;
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Class %s not found when restroing variable", name->str);
}