diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-03-09 14:36:27 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-03-09 14:36:27 +0300 |
commit | d5dadaf63552360e3e663cdcffd706b859c3ea83 (patch) | |
tree | 057bb3b636fa96be42c8e370a35d4c6dc4fd389d /redis_sentinel.c | |
parent | 92f8dde1c996d4e1c3d79226b888119307612c40 (diff) |
Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macros
Diffstat (limited to 'redis_sentinel.c')
-rw-r--r-- | redis_sentinel.c | 2 |
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); } |