fix thread safety

This commit is contained in:
Anatol Belski 2015-07-28 18:38:06 +02:00
parent 577ffcb55e
commit 7d41afeee8

View File

@ -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;