From 7d41afeee86f46cba04a57ce3733dea58af6f5cb Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 28 Jul 2015 18:38:06 +0200 Subject: [PATCH] fix thread safety --- win32/sendmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/sendmail.c b/win32/sendmail.c index 025c56a2088..432ebf097d9 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -868,7 +868,7 @@ static int Post(LPCSTR msg) //********************************************************************/ static int Ack(char **server_response) { - static char buf[MAIL_BUFFER_SIZE]; + ZEND_TLS char buf[MAIL_BUFFER_SIZE]; int rlen; int Index = 0; int Received = 0;