diff options
Diffstat (limited to 'ext/bz2/bz2.c')
-rw-r--r-- | ext/bz2/bz2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 2f440597ba..668f88c78d 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -618,7 +618,7 @@ static void php_bz2_error(INTERNAL_FUNCTION_PARAMETERS, int opt) array_init(return_value); add_assoc_long (return_value, "errno", errnum); - add_assoc_string(return_value, "errstr", (char*)errstr, 1); + add_assoc_string(return_value, "errstr", (char*)errstr); break; } } |