mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:25:31 +02:00
Fix bytesLeftToRead
This commit is contained in:
parent
2d86e807b0
commit
ad61c3db41
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public:
|
|||
// Returns the number of bytes allocated for the payload
|
||||
qint64 getPayloadCapacity() const { return _payloadCapacity; }
|
||||
|
||||
qint64 bytesLeftToRead() const { return _payloadCapacity - pos(); }
|
||||
qint64 bytesLeftToRead() const { return _payloadSize - pos(); }
|
||||
qint64 bytesAvailableForWrite() const { return _payloadCapacity - pos(); }
|
||||
|
||||
HifiSockAddr& getSenderSockAddr() { return _senderSockAddr; }
|
||||
|
|
Loading…
Reference in a new issue