diff options
author | Andrey Hristov <andrey@php.net> | 2005-03-12 12:03:50 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2005-03-12 12:03:50 +0000 |
commit | 9e939133d2a1cd1e05d2f2f1afe49efc055a3d3e (patch) | |
tree | 69464185514a7c4d4beda71caba36407ccfed340 /win32/sendmail.c | |
parent | 070147105f68e3361e724080962f60e560cb2cfc (diff) | |
download | php-git-9e939133d2a1cd1e05d2f2f1afe49efc055a3d3e.tar.gz |
FR 32275 - fifth parameter to preg_replace() to count number of replaces
made.
#it would be nice if someone of the doc team documents it. thanks!
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r-- | win32/sendmail.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c index cb7f78a336..b2135a2d0d 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -182,7 +182,8 @@ static char *php_win32_mail_trim_header(char *header TSRMLS_DC) replace, 0, &result_len, - -1 TSRMLS_CC); + -1, + NULL TSRMLS_CC); if (NULL == result) { FREE_ZVAL(replace); return NULL; @@ -195,7 +196,8 @@ static char *php_win32_mail_trim_header(char *header TSRMLS_DC) replace, 0, &result_len, - -1 TSRMLS_CC); + -1, + NULL TSRMLS_CC); efree(result); FREE_ZVAL(replace); return result2; |