summaryrefslogtreecommitdiffstats
path: root/src/PolarSSL++/BlockingSslClientSocket.cpp
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-12-16 19:31:57 +0100
committerLukas Pioch <lukas@zgow.de>2015-12-17 10:48:36 +0100
commitd620dcdd085ddca34f990588aae1c314917a5d32 (patch)
treed589a1e5fb4813e100fd377bae9378c37a619370 /src/PolarSSL++/BlockingSslClientSocket.cpp
parentMerge pull request #2753 from cuberite/pathFix (diff)
downloadcuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.gz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.bz2
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.lz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.xz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.zst
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.zip
Diffstat (limited to 'src/PolarSSL++/BlockingSslClientSocket.cpp')
-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