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)
289289/**
290290 * Send a static DISCARD in case we're in MULTI mode.
291291 */
292- static int send_discard_static (RedisSock * redis_sock ) {
292+ static int send_discard_static (RedisSock * redis_sock TSRMLS_DC ) {
293293
294294 int result = FAILURE ;
295295 char * cmd , * response ;
@@ -488,7 +488,7 @@ PHP_METHOD(Redis,__destruct) {
488488 // If we think we're in MULTI mode, send a discard
489489 if (redis_sock -> mode == MULTI ) {
490490 // 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 );
492492 free_reply_callbacks (getThis (), redis_sock );
493493 }
494494}
You can’t perform that action at this time.
0 commit comments