]> granicus.if.org Git - php/commitdiff
Fix ZTS build
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 11 Apr 2002 13:40:19 +0000 (13:40 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 11 Apr 2002 13:40:19 +0000 (13:40 +0000)
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail

ext/mbstring/mbstring.c

index fd28a39d9de956dfcf513953c40cd6485b63681d..7bbc8cd23341f060f3ffc5769d2aed97bc4cfe73 100644 (file)
@@ -2965,7 +2965,7 @@ PHP_FUNCTION(mb_send_mail)
                extra_cmd = Z_STRVAL_PP(argv[4]);
        }
 
-       if (!err && php_mail(to, subject, message, headers, extra_cmd)) {
+       if (!err && php_mail(to, subject, message, headers, extra_cmd TSRMLS_CC)) {
                RETVAL_TRUE;
        } else {
                RETVAL_FALSE;