com php-src: Kill a TSRMLS_FETCH() call in sapi/cau dium: sapi/caudium/caudium.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 18 Dec 2013 08:11:15 +0000 |
| Subject: | com php-src: Kill a TSRMLS_FETCH() call in sapi/cau dium: sapi/caudium/caudium.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74493@lists.php.net to get a copy of this message | ||
Commit: d02340bb39050c2ab0936bd8dc6a3292d6d2fcd9
Author: Kalle Sommer Nielsen <kalle@php.net> Wed, 18 Dec 2013 09:11:15 +0100
Parents: f883d3cc7a9162146dd50aca3a87dd8f090aec3c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d02340bb39050c2ab0936bd8dc6a3292d6d2fcd9
Log:
Kill a TSRMLS_FETCH() call in sapi/caudium
Changed paths:
M sapi/caudium/caudium.c
Diff:
diff --git a/sapi/caudium/caudium.c b/sapi/caudium/caudium.c
index d3b834f..4ab4306 100644
--- a/sapi/caudium/caudium.c
+++ b/sapi/caudium/caudium.c
@@ -395,11 +395,10 @@ php_caudium_sapi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)
* the client. Used for POST/PUT requests.
*/
-INLINE static int php_caudium_low_read_post(char *buf, uint count_bytes)
+INLINE static int php_caudium_low_read_post(char *buf, uint count_bytes TSRMLS_DC)
{
uint total_read = 0;
GET_THIS();
- TSRMLS_FETCH();
if(!MY_FD_OBJ->prog)
{
@@ -423,7 +422,7 @@ static int
php_caudium_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC)
{
uint total_read = 0;
- THREAD_SAFE_RUN(total_read = php_caudium_low_read_post(buf, count_bytes), "read post");
+ THREAD_SAFE_RUN(total_read = php_caudium_low_read_post(buf, count_bytes TSRMLS_CC), "read
post");
return total_read;
}