diff -r 84d9eb65b26f -r 2981cb3aa489 mmsengine/mmsserver/src/mmslog.cpp --- a/mmsengine/mmsserver/src/mmslog.cpp Mon May 03 12:29:07 2010 +0300 +++ b/mmsengine/mmsserver/src/mmslog.cpp Wed Nov 03 09:52:46 2010 +0530 @@ -20,13 +20,16 @@ // INCLUDE FILES +#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS +#include +#endif #include #include #include #include // common component #include -#include "LogsApiConsts.h" +#include // MMS specific #include "mmsconst.h" @@ -613,23 +616,23 @@ // This will mark the entry as "sent" or "delivered" or "failed" // or something similar... TBool doNotUpdate = EFalse; - if ( iLogUpdatedEvent->Status().CompareF( KLogsMsgReadText ) == 0 ) - { - // If the status is already "read" we don't change it - // This is a case where a delivery report arrives after a read report. - // Highly unlikely, but possible - doNotUpdate = ETrue; - #ifndef _NO_MMSS_LOGGING_ - TMmsLogger::Log( _L("Status already updated to read - do not update again")); - #endif - } - else - { - iLogUpdatedEvent->SetStatus( iLogEvent->Status() ); - // Clear the event read flag in case the user has cleared the log view - // We want this to become visible again. - iLogUpdatedEvent->ClearFlags( KLogEventRead ); - } + if ( iLogUpdatedEvent->Status().CompareF( KLogsMsgReadText ) == 0 ) + { + // If the status is already "read" we don't change it + // This is a case where a delivery report arrives after a read report. + // Highly unlikely, but possible + doNotUpdate = ETrue; +#ifndef _NO_MMSS_LOGGING_ + TMmsLogger::Log( _L("Status already updated to read - do not update again")); +#endif + } + else + { + iLogUpdatedEvent->SetStatus( iLogEvent->Status() ); + // Clear the event read flag in case the user has cleared the log view + // We want this to become visible again. + iLogUpdatedEvent->ClearFlags( KLogEventRead ); + } // if we have a message id, store it if ( ( iLogUpdatedEvent->Data().Length() <= 0 ) && ( iLogEvent->Data().Length() > 0 ) )