diff -r b73252188534 -r f23c07ec56e2 harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp --- a/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp Thu Aug 19 10:20:41 2010 +0300 +++ b/harvester/monitorplugins/mmcplugin/src/mmcmonitorao.cpp Tue Aug 31 15:37:30 2010 +0300 @@ -124,6 +124,8 @@ return; } + StartNotify(); + iPreviousDriveList.Zero(); iPreviousDriveList.Copy( iDriveList ); @@ -138,8 +140,6 @@ #ifdef _DEBUG PrintAllLists(); #endif - - StartNotify(); } #ifdef _DEBUG @@ -161,7 +161,7 @@ iFs.NotifyChangeCancel( iStatus ); } -CMMCMonitorAO::CMMCMonitorAO() : CActive( KHarvesterPriorityMonitorPlugin ), +CMMCMonitorAO::CMMCMonitorAO() : CActive( KHarvesterServerHighPriority ), iObserver( NULL ) { } @@ -283,7 +283,7 @@ { if ( iMediaIdList[i] != mediaId ) { - WRITELOG3( "CMMCMonitorAO::CompareDriveLists media changed %d, old=%d, new=%d", i, iMediaIdList[i], mediaId ); // DEBUG INFO + WRITELOG3( "CMMCMonitorAO::CompareDriveLists media changed %d, old=%u, new=%u", i, iMediaIdList[i], mediaId ); // DEBUG INFO // skip mount events if mediaId is 0 if ( iMediaIdList[i] != 0 ) {