diff options
author | Andrei Zmievski <andrei@php.net> | 2000-06-10 19:44:34 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-06-10 19:44:34 +0000 |
commit | f20194149f848bd58b18a585c2ebdb25ed1d8cbf (patch) | |
tree | b0cd0957f1b261cca077ddf5b595e568a5a78f59 | |
parent | 43793b94f79a66999a4aea95b1beec8bb0c499d3 (diff) | |
download | php-git-f20194149f848bd58b18a585c2ebdb25ed1d8cbf.tar.gz |
One more place.
-rw-r--r-- | ext/pcre/php_pcre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 174832e7c2..2ab781221c 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -739,6 +739,7 @@ char *php_pcre_replace(char *regex, int regex_len, /* stick that last bit of string on our output */ memcpy(&result[*result_len], piece, subject_len - start_offset); *result_len += subject_len - start_offset; + result[*result_len] = '\0'; break; } } |