summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sslio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sslio.c b/sslio.c
index dc75e97..0ce00c6 100644
--- a/sslio.c
+++ b/sslio.c
@@ -165,7 +165,7 @@ int redisSslCreate(redisContext *c, const char *capath, const char *certpath,
else {
unsigned long e = ERR_peek_last_error();
snprintf(err,sizeof(err)-1,"SSL_connect failed: %s",
- ERR_reason_error_String(e));
+ ERR_reason_error_string(e));
}
__redisSetError(c, REDIS_ERR_IO, err);
}