Fix typo.

This commit is contained in:
Yossi Gottlieb 2019-08-25 11:43:27 +03:00
parent 153b8f632b
commit aacd4ccd76

View File

@ -165,7 +165,7 @@ int redisSslCreate(redisContext *c, const char *capath, const char *certpath,
else { else {
unsigned long e = ERR_peek_last_error(); unsigned long e = ERR_peek_last_error();
snprintf(err,sizeof(err)-1,"SSL_connect failed: %s", 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); __redisSetError(c, REDIS_ERR_IO, err);
} }