Fix typo.
This commit is contained in:
parent
153b8f632b
commit
aacd4ccd76
2
sslio.c
2
sslio.c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user