summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl.c b/ssl.c
index 78ab9e4..b97fc1d 100644
--- a/ssl.c
+++ b/ssl.c
@@ -82,8 +82,8 @@ redisContextFuncs redisContextSSLFuncs;
* Callback used for debugging
*/
static void sslLogCallback(const SSL *ssl, int where, int ret) {
- const char *retstr = "";
- int should_log = 1;
+ const char *retstr;
+ int should_log = 0;
/* Ignore low-level SSL stuff */
if (where & SSL_CB_ALERT) {