From 8e64f9903df099af8fee4c38be8624722dda2d9e Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 29 Apr 2013 14:48:03 -0700 Subject: [PATCH] fix typos --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index c69162d9f..c7012b776 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -3707,7 +3707,7 @@ CYASSL_SESSION* GetSessionClient(CYASSL* ssl, const byte* id, int len) row = HashSession(id, len) % SESSION_ROWS; if (LockMutex(&session_mutex) != 0) { - CYASSL_MSG("Lock sessoin mutex failed"); + CYASSL_MSG("Lock session mutex failed"); return NULL; } @@ -3879,7 +3879,7 @@ int AddSession(CYASSL* ssl) ClientCache[clientRow].totalCount++; if (ClientCache[clientRow].nextIdx == SESSIONS_PER_ROW) - SessionCache[clientRow].nextIdx = 0; + ClientCache[clientRow].nextIdx = 0; } else SessionCache[row].Sessions[idx].idLen = 0;