codhandler/codeng/src/FotaSaver.cpp
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 26 cb62a4f66ebe
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
   137     // The transport size may also be different, if compression or some
   137     // The transport size may also be different, if compression or some
   138     // packaging format is used."
   138     // packaging format is used."
   139     //
   139     //
   140     // There is a safety upper bound on the transaction size, that is already
   140     // There is a safety upper bound on the transaction size, that is already
   141     // applied. See SetMaxSize().
   141     // applied. See SetMaxSize().
   142     
   142  
   143     if( iType != TDataType( (*aData[aData.ActiveDownload()]).Type()  ) )
   143     if( iType.Des8().Find( (*aData[aData.ActiveDownload()]).Type() ) == KErrNotFound )
   144         {
   144         {
   145         CLOG(( ECodEng, 4, _L(" content-type mismatch") ));
   145         CLOG(( ECodEng, 4, _L(" content-type mismatch") ));
   146         User::Leave( KErrCodAttributeMismatch );
   146         User::Leave( KErrCodAttributeMismatch );
   147         }
   147         }
   148 
   148