X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_message_body.c;h=f48dbd66f7bdb9218a39c0251522b4b389be93a2;hb=b7c74d29e14a92bc649d767b53c392eba4ddde2e;hp=2697f24d3054238e37463e4079f167f2029811bc;hpb=03950c1eaf949eb56a9cf27655ffbb9ac88e0298;p=m6w6%2Fext-http diff --git a/php_http_message_body.c b/php_http_message_body.c index 2697f24..f48dbd6 100644 --- a/php_http_message_body.c +++ b/php_http_message_body.c @@ -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); } } }