codhandler/codeng/src/FotaSaver.cpp
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 26 cb62a4f66ebe
--- a/codhandler/codeng/src/FotaSaver.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/codhandler/codeng/src/FotaSaver.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -139,8 +139,8 @@
     //
     // There is a safety upper bound on the transaction size, that is already
     // applied. See SetMaxSize().
-    
-    if( iType != TDataType( (*aData[aData.ActiveDownload()]).Type()  ) )
+ 
+    if( iType.Des8().Find( (*aData[aData.ActiveDownload()]).Type() ) == KErrNotFound )
         {
         CLOG(( ECodEng, 4, _L(" content-type mismatch") ));
         User::Leave( KErrCodAttributeMismatch );