fix ZTS
authorMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 10:29:24 +0000 (10:29 +0000)
committerMichael Wallner <mike@php.net>
Fri, 15 Nov 2013 10:29:24 +0000 (10:29 +0000)
php_http_message_body.c

index 2697f24d3054238e37463e4079f167f2029811bc..f48dbd66f7bdb9218a39c0251522b4b389be93a2 100644 (file)
@@ -852,10 +852,10 @@ PHP_METHOD(HttpMessageBody, stat)
                                        }
                        } else {
                                object_init(return_value);
-                               add_property_long_ex(return_value, ZEND_STRS("size"), sb->sb.st_size);
-                               add_property_long_ex(return_value, ZEND_STRS("atime"), sb->sb.st_atime);
-                               add_property_long_ex(return_value, ZEND_STRS("mtime"), sb->sb.st_mtime);
-                               add_property_long_ex(return_value, ZEND_STRS("ctime"), sb->sb.st_ctime);
+                               add_property_long_ex(return_value, ZEND_STRS("size"), sb->sb.st_size TSRMLS_CC);
+                               add_property_long_ex(return_value, ZEND_STRS("atime"), sb->sb.st_atime TSRMLS_CC);
+                               add_property_long_ex(return_value, ZEND_STRS("mtime"), sb->sb.st_mtime TSRMLS_CC);
+                               add_property_long_ex(return_value, ZEND_STRS("ctime"), sb->sb.st_ctime TSRMLS_CC);
                        }
                }
        }