diff options
Diffstat (limited to 'cpp/src/IceBT/StreamSocket.cpp')
-rw-r--r-- | cpp/src/IceBT/StreamSocket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceBT/StreamSocket.cpp b/cpp/src/IceBT/StreamSocket.cpp index 7c398fbed6f..ba4b27ca57f 100644 --- a/cpp/src/IceBT/StreamSocket.cpp +++ b/cpp/src/IceBT/StreamSocket.cpp @@ -104,12 +104,12 @@ IceBT::StreamSocket::setBufferSize(int rcvSize, int sndSize) // Warn if the size that was set is less than the requested size and // we have not already warned. // - IceInternal::BufSizeWarnInfo winfo = _instance->getBufSizeWarn(EndpointType); + IceInternal::BufSizeWarnInfo winfo = _instance->getBufSizeWarn(BTEndpointType); if(!winfo.rcvWarn || rcvSize != winfo.rcvSize) { Ice::Warning out(_instance->logger()); out << "BT receive buffer size: requested size of " << rcvSize << " adjusted to " << size; - _instance->setRcvBufSizeWarn(EndpointType, rcvSize); + _instance->setRcvBufSizeWarn(BTEndpointType, rcvSize); } } } @@ -127,12 +127,12 @@ IceBT::StreamSocket::setBufferSize(int rcvSize, int sndSize) { // Warn if the size that was set is less than the requested size and // we have not already warned. - IceInternal::BufSizeWarnInfo winfo = _instance->getBufSizeWarn(EndpointType); + IceInternal::BufSizeWarnInfo winfo = _instance->getBufSizeWarn(BTEndpointType); if(!winfo.sndWarn || sndSize != winfo.sndSize) { Ice::Warning out(_instance->logger()); out << "BT send buffer size: requested size of " << sndSize << " adjusted to " << size; - _instance->setSndBufSizeWarn(EndpointType, sndSize); + _instance->setSndBufSizeWarn(BTEndpointType, sndSize); } } } |