equal
deleted
inserted
replaced
1320 // ----------------------------------------------------------------------------- |
1320 // ----------------------------------------------------------------------------- |
1321 // |
1321 // |
1322 void CSendObject::Rollback() |
1322 void CSendObject::Rollback() |
1323 { |
1323 { |
1324 // Delete this object from file system. |
1324 // Delete this object from file system. |
1325 if ( iProgress == ESendObjectInProgress |
1325 if ( iProgress == ESendObjectInProgress ) |
1326 || iProgress == EObjectInfoSucceed |
1326 // || iProgress == EObjectInfoSucceed // this line is to be commented out until SetSize is done in SendObjectInfo/SendObjectPropList |
1327 ||iProgress == EObjectInfoFail ) |
1327 //||iProgress == EObjectInfoFail ) |
1328 { |
1328 { |
1329 PRINT1( _L( "MM MTP <> CSendObject::Rollback ROLLBACK_FILE %S" ), &iFullPath ); |
1329 PRINT1( _L( "MM MTP <> CSendObject::Rollback ROLLBACK_FILE %S" ), &iFullPath ); |
1330 // Close the interrupted transfer file by delete iFileReceived object |
1330 // Close the interrupted transfer file by delete iFileReceived object |
1331 delete iFileReceived; |
1331 delete iFileReceived; |
1332 iFileReceived = NULL; |
1332 iFileReceived = NULL; |