- add PHP_FUNCTION(http_parse_message) -- http_get() etc would be pretty useless...
[m6w6/ext-http] / missing.c
index 31d2b468ad699cfc24b6bf6b843eb0baf839bb4d..99ec620c095c4b6877046e3b511a6a1129c0d9d6 100644 (file)
--- 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);
                }
        }