summaryrefslogtreecommitdiff
path: root/net/WebSocketHandler.hpp
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-25 21:33:57 +0300
committerTor Lillqvist <tml@collabora.com>2018-10-25 21:33:57 +0300
commit8bc97c0f9e6b0fa7483b44ed6faa6bfbc2f17999 (patch)
tree58a82cf2a5eef1b6f755006163f33c3c010f4f18 /net/WebSocketHandler.hpp
parent16a805e290e5a276f44728cf428efe7f31de0622 (diff)
Diffstat (limited to 'net/WebSocketHandler.hpp')
-rw-r--r--net/WebSocketHandler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/WebSocketHandler.hpp b/net/WebSocketHandler.hpp
index 3b60fe9b8..f6457787e 100644
--- a/net/WebSocketHandler.hpp
+++ b/net/WebSocketHandler.hpp
@@ -205,7 +205,7 @@ public:
} else
_wsPayload.insert(_wsPayload.end(), data, data + payloadLen);
#else
- unsigned char * const p = reinterpret_cast<unsigned char*>(&socket->_inBuffer[0]);
+ unsigned char * const p = reinterpret_cast<unsigned char*>(&socket->getInBuffer()[0]);
_wsPayload.insert(_wsPayload.end(), p, p + len);
const size_t headerLen = 0;
const size_t payloadLen = len;