laforge
/
openbts-osmo
Archived
1
0
Fork 0

Typos in comments and debug logs fixed.

This commit is contained in:
Alexander Chemeris 2010-08-11 22:02:28 +04:00
parent ae0def5cc7
commit 2da5a28a07
2 changed files with 4 additions and 4 deletions

View File

@ -596,7 +596,7 @@ class TransactionTable {
Also clears dead entries during search.
@param mobileID The mobile at to search for.
@param target A TransactionEntry to accept the found record.
@return true is the mobile ID was foind.
@return true is the mobile ID was found.
*/
bool find(const GSM::L3MobileIdentity& mobileID, TransactionEntry& target);

View File

@ -300,12 +300,12 @@ bool SIPInterface::checkInvite( osip_message_t * msg )
// IMSIs are 14 or 15 char + "IMSI" prefix
unsigned namelen = strlen(IMSI);
if ((namelen>19)||(namelen<18)) {
LOG(WARN) << "INVITE with malformed username \"" << IMSI << "\"";
LOG(WARN) << "INVITE/MESSAGE with malformed username \"" << IMSI << "\"";
return false;
}
// Skip first 4 char "IMSI".
IMSI+=4;
// Make the mobile id we need for transaction and paging enties.
// Make the mobile id we need for transaction and paging entries.
L3MobileIdentity mobile_id(IMSI);
// Check SIP map. Repeated entry? Page again.
@ -343,7 +343,7 @@ bool SIPInterface::checkInvite( osip_message_t * msg )
if (!callerID) {
callerID = emptyString;
callerHost = emptyString;
LOG(NOTICE) << "INVITE with no From: username for " << mobile_id;
LOG(NOTICE) << "INVITE/MESSAGE with no From: username for " << mobile_id;
}
LOG(DEBUG) << "callerID " << callerID << "@" << callerHost;
// Build the transaction table entry.