mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 04:43:16 +00:00
update other bits in OpenBTS to use safer read() signature
This commit is contained in:
@@ -669,7 +669,7 @@ void SipInterface::siDrive2()
|
||||
// All inbound SIP messages go here for processing.
|
||||
|
||||
LOG(DEBUG) << "blocking on socket";
|
||||
int numRead = mSIPSocket->read(mReadBuffer);
|
||||
int numRead = mSIPSocket->read(mReadBuffer, sizeof(mReadBuffer));
|
||||
if (numRead<0) {
|
||||
LOG(ALERT) << "cannot read SIP socket.";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user