summaryrefslogtreecommitdiff
path: root/examples/example-libevent-ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-libevent-ssl.c')
-rw-r--r--examples/example-libevent-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-libevent-ssl.c b/examples/example-libevent-ssl.c
index b2c6b56..a142b22 100644
--- a/examples/example-libevent-ssl.c
+++ b/examples/example-libevent-ssl.c
@@ -69,7 +69,7 @@ int main (int argc, char **argv) {
ssl = redisCreateSSLContext(caCert, NULL,
cert, certKey, NULL, &ssl_error);
if (!ssl) {
- printf("Error: %s\n", redisSSLContextGetError(ssl_error));
+ printf("Error: %s\n", redictSSLContextGetError(ssl_error));
return 1;
}