fix typos

This commit is contained in:
toddouska
2013-04-29 14:48:03 -07:00
parent 5a1886656a
commit 8e64f9903d

View File

@@ -3707,7 +3707,7 @@ CYASSL_SESSION* GetSessionClient(CYASSL* ssl, const byte* id, int len)
row = HashSession(id, len) % SESSION_ROWS; row = HashSession(id, len) % SESSION_ROWS;
if (LockMutex(&session_mutex) != 0) { if (LockMutex(&session_mutex) != 0) {
CYASSL_MSG("Lock sessoin mutex failed"); CYASSL_MSG("Lock session mutex failed");
return NULL; return NULL;
} }
@@ -3879,7 +3879,7 @@ int AddSession(CYASSL* ssl)
ClientCache[clientRow].totalCount++; ClientCache[clientRow].totalCount++;
if (ClientCache[clientRow].nextIdx == SESSIONS_PER_ROW) if (ClientCache[clientRow].nextIdx == SESSIONS_PER_ROW)
SessionCache[clientRow].nextIdx = 0; ClientCache[clientRow].nextIdx = 0;
} }
else else
SessionCache[row].Sessions[idx].idLen = 0; SessionCache[row].Sessions[idx].idLen = 0;