File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ PHPAPI zend_class_entry *redis_get_exception_base(int root TSRMLS_DC)
289
289
/**
290
290
* Send a static DISCARD in case we're in MULTI mode.
291
291
*/
292
- static int send_discard_static (RedisSock * redis_sock ) {
292
+ static int send_discard_static (RedisSock * redis_sock TSRMLS_DC ) {
293
293
294
294
int result = FAILURE ;
295
295
char * cmd , * response ;
@@ -488,7 +488,7 @@ PHP_METHOD(Redis,__destruct) {
488
488
// If we think we're in MULTI mode, send a discard
489
489
if (redis_sock -> mode == MULTI ) {
490
490
// Discard any multi commands, and free any callbacks that have been queued
491
- send_discard_static (redis_sock );
491
+ send_discard_static (redis_sock TSRMLS_CC );
492
492
free_reply_callbacks (getThis (), redis_sock );
493
493
}
494
494
}
You can’t perform that action at this time.
0 commit comments