diff options
author | George Schlossnagle <gschlossnagle@php.net> | 2003-07-20 20:16:07 +0000 |
---|---|---|
committer | George Schlossnagle <gschlossnagle@php.net> | 2003-07-20 20:16:07 +0000 |
commit | 600f72f7b4652321b14d2abe247a4f3bdc7f7d98 (patch) | |
tree | 511f1b80be3c8d7f7af1c463924816c5420e26af /ext/reflection/php_reflection.c | |
parent | cfe2eda4f6842e73e2d16d27e7ff0570bb0284e0 (diff) | |
download | php-git-600f72f7b4652321b14d2abe247a4f3bdc7f7d98.tar.gz |
should nt here
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index a10455e0dc..493c25e9b2 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -117,6 +117,7 @@ string *string_write(string *str, char *buf, int len) } memcpy(str->string + str->len - 1, buf, len); str->len += len; + str->string[str->len] = '\0'; return str; } |