summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-07-28 18:38:06 +0200
committerAnatol Belski <ab@php.net>2015-07-29 10:36:27 +0200
commit7d41afeee86f46cba04a57ce3733dea58af6f5cb (patch)
tree8df35d98e31df821a8e3c1c9696060f76fdcecce
parent577ffcb55e8b5d655c3f5bee068324055cfe41ca (diff)
downloadphp-git-7d41afeee86f46cba04a57ce3733dea58af6f5cb.tar.gz
fix thread safety
-rw-r--r--win32/sendmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 025c56a208..432ebf097d 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;