summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2019-08-25 11:43:27 +0300
committerYossi Gottlieb <yossigo@gmail.com>2019-08-25 11:43:27 +0300
commitaacd4ccd7611da795b403ff5b4a24a1c4a0c49ef (patch)
tree66305fd45bae0af028f1f7aa6b1e121bad0b7907
parent153b8f632ba40fe7a0225fd4940d06e2a6e871f5 (diff)
Fix typo.
-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);
}