harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp
changeset 60 79f826a55db2
parent 48 1389872e7c51
--- a/harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp	Mon Sep 27 15:53:05 2010 +0300
+++ b/harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp	Wed Oct 06 15:08:08 2010 +0300
@@ -307,10 +307,7 @@
         case EFsFileCreate:
             {
 #ifdef _DEBUG            
-            if (function == EFsFileCreate)
-                {
-            	WRITELOG( "CMdsFileServerPlugin::DoRequestL() - EFsFileCreate" );
-                }
+            WRITELOG( "CMdsFileServerPlugin::DoRequestL() - EFsFileCreate" );
 #endif            
             
             HBufC* createdFileName = iFileName.Alloc();
@@ -497,7 +494,7 @@
 				{
 				return KErrNone;
 				}
-			drvNumber = iFormatOldMediaId;
+			drvNumber = iFormatDriveNumber;
 			volInfo.iUniqueID = iFormatOldMediaId;
 			iFormatOldMediaId = 0;
 			iFormatDriveNumber = -1;
@@ -546,7 +543,7 @@
             queueItem->iFileEventType = fileEventType;
             queueItem->iProcessId = processId;
 
-            iQueue.AppendL( queueItem ); // owenership is transferred
+            iQueue.AppendL( queueItem ); // ownership is transferred
             CleanupStack::Pop( queueItem );
             err = KErrNone;
             iPendingEvents++;