diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-10-25 21:33:57 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-10-25 21:33:57 +0300 |
commit | 8bc97c0f9e6b0fa7483b44ed6faa6bfbc2f17999 (patch) | |
tree | 58a82cf2a5eef1b6f755006163f33c3c010f4f18 /net/WebSocketHandler.hpp | |
parent | 16a805e290e5a276f44728cf428efe7f31de0622 (diff) |
Adapt after 4724aa0cf78f3aedf7f7f4222d251ef8395d5523
Diffstat (limited to 'net/WebSocketHandler.hpp')
-rw-r--r-- | net/WebSocketHandler.hpp | 2 |
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; |