Browse Source

Fix initial buffer size

PEAR_1_4DEV
Marcus Boerger 23 years ago
parent
commit
bca0019d43
  1. 2
      Zend/zend_reflection_api.c
  2. 2
      ext/reflection/php_reflection.c

2
Zend/zend_reflection_api.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';

2
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';

Loading…
Cancel
Save