@@ -3939,7 +3939,7 @@ PHP_METHOD(Redis, multi)
39393939 IF_MULTI () {
39403940 cmd_len = redis_cmd_format_static (& cmd , "MULTI" , "" );
39413941
3942- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
3942+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
39433943 efree (cmd );
39443944 RETURN_FALSE ;
39453945 }
@@ -3984,7 +3984,7 @@ PHP_METHOD(Redis, discard)
39843984
39853985 cmd_len = redis_cmd_format_static (& cmd , "DISCARD" , "" );
39863986
3987- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
3987+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
39883988 efree (cmd );
39893989 RETURN_FALSE ;
39903990 }
@@ -4098,7 +4098,7 @@ PHP_METHOD(Redis, exec)
40984098
40994099 cmd_len = redis_cmd_format_static (& cmd , "EXEC" , "" );
41004100
4101- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
4101+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
41024102 efree (cmd );
41034103 RETURN_FALSE ;
41044104 }
@@ -4135,7 +4135,7 @@ PHP_METHOD(Redis, exec)
41354135 }
41364136
41374137 if (request != NULL ) {
4138- if (redis_sock_write (redis_sock , request , total ) < 0 ) {
4138+ if (redis_sock_write (redis_sock , request , total TSRMLS_CC ) < 0 ) {
41394139 free (request );
41404140 free_reply_callbacks (object , redis_sock );
41414141 redis_sock -> mode = ATOMIC ;
@@ -4225,7 +4225,7 @@ PHP_METHOD(Redis, publish)
42254225
42264226 cmd_len = redis_cmd_format_static (& cmd , "PUBLISH" , "ss" , key , key_len , val , val_len );
42274227
4228- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
4228+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
42294229 efree (cmd );
42304230 RETURN_FALSE ;
42314231 }
@@ -4282,7 +4282,7 @@ PHP_METHOD(Redis, subscribe)
42824282 old_cmd = cmd ;
42834283 cmd_len = spprintf (& cmd , 0 , "SUBSCRIBE %s\r\n" , cmd );
42844284 efree (old_cmd );
4285- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
4285+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
42864286 efree (cmd );
42874287 RETURN_FALSE ;
42884288 }
@@ -4445,7 +4445,7 @@ PHP_METHOD(Redis, unsubscribe)
44454445 cmd_len = spprintf (& cmd , 0 , "UNSUBSCRIBE %s\r\n" , cmd );
44464446 efree (old_cmd );
44474447
4448- if (redis_sock_write (redis_sock , cmd , cmd_len ) < 0 ) {
4448+ if (redis_sock_write (redis_sock , cmd , cmd_len TSRMLS_CC ) < 0 ) {
44494449 efree (cmd );
44504450 RETURN_FALSE ;
44514451 }
0 commit comments