summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-12-17 11:37:20 +0100
committerLukas Pioch <lukas@zgow.de>2015-12-17 11:37:20 +0100
commit1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb (patch)
treed589a1e5fb4813e100fd377bae9378c37a619370 /src/PolarSSL++
parentMerge pull request #2753 from cuberite/pathFix (diff)
parentMoved variables into scope, removed unused variables and fixed variables (diff)
downloadcuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar.gz
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar.bz2
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar.lz
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar.xz
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.tar.zst
cuberite-1395ff3ca4baf554f8b47a73ebd7bbf7635f59cb.zip
Diffstat (limited to 'src/PolarSSL++')
-rw-r--r--src/PolarSSL++/BlockingSslClientSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PolarSSL++/BlockingSslClientSocket.cpp b/src/PolarSSL++/BlockingSslClientSocket.cpp
index a3c26f261..e789b5374 100644
--- a/src/PolarSSL++/BlockingSslClientSocket.cpp
+++ b/src/PolarSSL++/BlockingSslClientSocket.cpp
@@ -189,7 +189,7 @@ bool cBlockingSslClientSocket::Send(const void * a_Data, size_t a_NumBytes)
size_t NumBytes = a_NumBytes;
for (;;)
{
- int res = m_Ssl.WritePlain(a_Data, a_NumBytes);
+ int res = m_Ssl.WritePlain(Data, a_NumBytes);
if (res < 0)
{
ASSERT(res != POLARSSL_ERR_NET_WANT_READ); // This should never happen with callback-based SSL