equal
deleted
inserted
replaced
199 { |
199 { |
200 return KNoTag | NetStateMachine::EBackward; |
200 return KNoTag | NetStateMachine::EBackward; |
201 } |
201 } |
202 else if (resp.iAction == TErrResponse::EPropagate || resp.iError == KErrCancel) |
202 else if (resp.iAction == TErrResponse::EPropagate || resp.iError == KErrCancel) |
203 { |
203 { |
|
204 if (resp.iError != KErrNone) |
|
205 { |
|
206 //The activity is already errored. The errored state needs to be reset first. |
|
207 iContext.Activity()->SetError(KErrNone); |
|
208 iContext.Activity()->SetError(resp.iError); |
|
209 } |
|
210 |
204 return KErrorTag; |
211 return KErrorTag; |
205 } |
212 } |
206 else if (resp.iAction == TErrResponse::EIgnore) // and or iError is KErrCancel |
213 else if (resp.iAction == TErrResponse::EIgnore) // and or iError is KErrCancel |
207 { |
214 { |
208 //TODO RZ: This looks inappropriate. EIgnore and EPropagate flags are not |
215 //TODO RZ: This looks inappropriate. EIgnore and EPropagate flags are not |