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:
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r--redis_sentinel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis_sentinel.c b/redis_sentinel.c
index f4729d78..9fa5414d 100644
--- a/redis_sentinel.c
+++ b/redis_sentinel.c
@@ -93,7 +93,7 @@ PHP_METHOD(RedisSentinel, __construct)
}
}
- obj = PHPREDIS_GET_OBJECT(redis_sentinel_object, getThis());
+ obj = PHPREDIS_ZVAL_GET_OBJECT(redis_sentinel_object, getThis());
obj->sock = redis_sock_create(ZSTR_VAL(host), ZSTR_LEN(host), port,
timeout, read_timeout, persistent, persistent_id, retry_interval);
}