harvester/monitorplugins/mdsfileserverplugin/src/mdsfileserverplugin.cpp
branchRCL_3
changeset 14 646a02f170b9
parent 8 6752808b2036
child 19 82c0024438c8
equal deleted inserted replaced
8:6752808b2036 14:646a02f170b9
   782         HBufC* fn = status.iFileName.Alloc();
   782         HBufC* fn = status.iFileName.Alloc();
   783         if ( fn )
   783         if ( fn )
   784             {
   784             {
   785             iPaths.Append( fn );
   785             iPaths.Append( fn );
   786             }
   786             }
       
   787         else
       
   788             {
       
   789             err = KErrNoMemory;
       
   790             }
   787         }
   791         }
   788     else
   792     else
   789         {
   793         {
   790         err = KErrNotFound;
   794         err = KErrNotFound;
   791         }
   795         }
   869         WRITELOG1( "CMdsFileServerPlugin::AddIgnorePath() - add path: %S", &status.iFileName );
   873         WRITELOG1( "CMdsFileServerPlugin::AddIgnorePath() - add path: %S", &status.iFileName );
   870         HBufC* fn = status.iFileName.Alloc();
   874         HBufC* fn = status.iFileName.Alloc();
   871         if ( fn )
   875         if ( fn )
   872             {
   876             {
   873             iIgnorePaths.Append( fn ); // ownership is transferred
   877             iIgnorePaths.Append( fn ); // ownership is transferred
       
   878             }
       
   879         else
       
   880             {
       
   881             err = KErrNoMemory;
   874             }
   882             }
   875         }
   883         }
   876     else
   884     else
   877         {
   885         {
   878         err = KErrNotFound;
   886         err = KErrNotFound;