From 2da5a28a076566d45ef861fbc5571fc3f059e685 Mon Sep 17 00:00:00 2001 From: Alexander Chemeris Date: Wed, 11 Aug 2010 22:02:28 +0400 Subject: [PATCH] Typos in comments and debug logs fixed. --- public-trunk/Control/ControlCommon.h | 2 +- public-trunk/SIP/SIPInterface.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public-trunk/Control/ControlCommon.h b/public-trunk/Control/ControlCommon.h index c518989..0448e08 100644 --- a/public-trunk/Control/ControlCommon.h +++ b/public-trunk/Control/ControlCommon.h @@ -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); diff --git a/public-trunk/SIP/SIPInterface.cpp b/public-trunk/SIP/SIPInterface.cpp index 5f6c367..7caf1e4 100644 --- a/public-trunk/SIP/SIPInterface.cpp +++ b/public-trunk/SIP/SIPInterface.cpp @@ -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.