diff options
Diffstat (limited to 'examples/example-ssl.c')
-rw-r--r-- | examples/example-ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-ssl.c b/examples/example-ssl.c index 1654f5d..ac3dfb8 100644 --- a/examples/example-ssl.c +++ b/examples/example-ssl.c @@ -34,7 +34,7 @@ int main(int argc, char **argv) { redisInitOpenSSL(); ssl = redisCreateSSLContext(ca, NULL, cert, key, NULL, &ssl_error); if (!ssl || ssl_error != REDIS_SSL_CTX_NONE) { - printf("SSL Context error: %s\n", redisSSLContextGetError(ssl_error)); + printf("SSL Context error: %s\n", redictSSLContextGetError(ssl_error)); exit(1); } @@ -49,7 +49,7 @@ int main(int argc, char **argv) { printf("Connection error: %s\n", c->errstr); redisFree(c); } else { - printf("Connection error: can't allocate redis context\n"); + printf("Connection error: can't allocate redict context\n"); } exit(1); } |