X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=missing.c;h=99ec620c095c4b6877046e3b511a6a1129c0d9d6;hp=31d2b468ad699cfc24b6bf6b843eb0baf839bb4d;hb=f0b91eef34357ee6146faa2a2f88d4fac7c0d66c;hpb=9b7f51fa34715073a002e2bc7c614c21be8a404b diff --git a/missing.c b/missing.c index 31d2b46..99ec620 100644 --- a/missing.c +++ b/missing.c @@ -225,7 +225,7 @@ int zend_update_static_property(zend_class_entry *scope, char *name, size_t name SEPARATE_ZVAL(&value); } - retval = zend_hash_update(scope->static_members, name, name_len+1, &value, sizeof(zval *), NULL); + retval = zend_hash_update(scope->static_members, name, name_len, &value, sizeof(zval *), NULL); } }