From 4bd22cf1c1d6a262fe2f026e082f2565433c53df Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 29 Jun 2015 16:44:54 +0300 Subject: Improved zend_string API (Francois Laupretre) Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods --- win32/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/sendmail.c') diff --git a/win32/sendmail.c b/win32/sendmail.c index e6be028091..025c56a208 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -607,7 +607,7 @@ static int SendText(char *RPath, char *Subject, char *mailTo, char *mailCc, char data_cln = php_str_to_str(data, strlen(data), PHP_WIN32_MAIL_DOT_PATTERN, sizeof(PHP_WIN32_MAIL_DOT_PATTERN) - 1, PHP_WIN32_MAIL_DOT_REPLACE, sizeof(PHP_WIN32_MAIL_DOT_REPLACE) - 1); if (!data_cln) { - data_cln = STR_EMPTY_ALLOC(); + data_cln = ZSTR_EMPTY_ALLOC(); } /* send message contents in 1024 chunks */ -- cgit v1.2.1