diff options
Diffstat (limited to 'deps/hiredis/ssl.c')
-rw-r--r-- | deps/hiredis/ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/hiredis/ssl.c b/deps/hiredis/ssl.c index c581f63dc..a709ea7cc 100644 --- a/deps/hiredis/ssl.c +++ b/deps/hiredis/ssl.c @@ -480,7 +480,7 @@ static ssize_t redisSSLRead(redisContext *c, char *buf, size_t bufcap) { static ssize_t redisSSLWrite(redisContext *c) { redisSSL *rssl = c->privctx; - size_t len = rssl->lastLen ? rssl->lastLen : sdslen(c->obuf); + size_t len = rssl->lastLen ? rssl->lastLen : hi_sdslen(c->obuf); int rv = SSL_write(rssl->ssl, c->obuf, len); if (rv > 0) { |