fix ZTS build

This commit is contained in:
Antony Dovgal 2009-01-09 16:33:57 +00:00
parent 968e7af6cf
commit ae6b1d2216

View File

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