From: Antony Dovgal Date: Fri, 9 Jan 2009 16:33:57 +0000 (+0000) Subject: fix ZTS build X-Git-Tag: php-5.4.0alpha1~191^2~4578 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae6b1d2216b3052ab95f749739adfbd4d4ba733f;p=php fix ZTS build --- diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 472f1f0cb6..4c30993e8d 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -227,7 +227,7 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char char *f; size_t f_len; - php_basename(tmp, strlen(tmp), NULL, 0,&f, &f_len); + php_basename(tmp, strlen(tmp), NULL, 0,&f, &f_len TSRMLS_CC); if (headers != NULL) { spprintf(&hdr, 0, "%s\r\nX-PHP-Originating-Script: %ld:%s\n", headers, php_getuid(), f);