summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-09-01 21:14:09 +0000
committerMarcus Boerger <helly@php.net>2003-09-01 21:14:09 +0000
commitbca0019d43f25f6c6a5b032da2979dcedf2e37e0 (patch)
tree052b6ec512f7996af878848687adbe74fb1e95f1 /ext/reflection/php_reflection.c
parent2b19c5435eaac1ca01faca1bd9a766f6811c4659 (diff)
downloadphp-git-bca0019d43f25f6c6a5b032da2979dcedf2e37e0.tar.gz
Fix initial buffer size
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index b90b62e2e9..08eda3c105 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -71,7 +71,7 @@ typedef struct _string {
void string_init(string *str)
{
- str->string = (char *) emalloc(1042);
+ str->string = (char *) emalloc(1024);
str->len = 1;
str->alloced = 1024;
*str->string = '\0';