Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-08-29 18:48:44 +0400
committerRemi Collet <fedora@famillecollet.com>2012-08-29 18:48:44 +0400
commitc6e13befdcb4c4f0dc39a2bf92fb1e230d7e83ff (patch)
tree821e9efba0a1c4ca7ea9e71d5c1997d87a67986b /library.c
parent9319f637efedab214e4e8a6dd38fdf8eef8f7ab6 (diff)
missing TSRMLS_CC, fix ZTS build
Diffstat (limited to 'library.c')
-rw-r--r--library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/library.c b/library.c
index ce5e01e3..b40d1a11 100644
--- a/library.c
+++ b/library.c
@@ -41,7 +41,7 @@ PHPAPI int redis_check_eof(RedisSock *redis_sock TSRMLS_DC)
for (; eof; count++) {
if((MULTI == redis_sock->mode) || redis_sock->watching || count == 10) { /* too many failures */
if(redis_sock->stream) { /* close stream if still here */
- redis_stream_close(redis_sock);
+ redis_stream_close(redis_sock TSRMLS_CC);
redis_sock->stream = NULL;
redis_sock->mode = ATOMIC;
redis_sock->status = REDIS_SOCK_STATUS_FAILED;
@@ -51,7 +51,7 @@ PHPAPI int redis_check_eof(RedisSock *redis_sock TSRMLS_DC)
return -1;
}
if(redis_sock->stream) { /* close existing stream before reconnecting */
- redis_stream_close(redis_sock);
+ redis_stream_close(redis_sock TSRMLS_CC);
redis_sock->stream = NULL;
redis_sock->mode = ATOMIC;
redis_sock->watching = 0;