summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dict.c2
-rw-r--r--ssl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/dict.c b/dict.c
index e17a625..5b349f0 100644
--- a/dict.c
+++ b/dict.c
@@ -294,7 +294,7 @@ static void dictReleaseIterator(dictIterator *iter) {
/* Expand the hash table if needed */
static int _dictExpandIfNeeded(dict *ht) {
/* If the hash table is empty expand it to the initial size,
- * if the table is "full" dobule its size. */
+ * if the table is "full" double its size. */
if (ht->size == 0)
return dictExpand(ht, DICT_HT_INITIAL_SIZE);
if (ht->used == ht->size)
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) {