equal
deleted
inserted
replaced
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 |