update other bits in OpenBTS to use safer read() signature

This commit is contained in:
Michael Iedema
2016-05-06 18:19:19 +02:00
parent 5b5934707a
commit e09152ccb5
3 changed files with 3 additions and 3 deletions

View File

@@ -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;