equal
deleted
inserted
replaced
229 FUNC_LOG; |
229 FUNC_LOG; |
230 switch( iState ) |
230 switch( iState ) |
231 { |
231 { |
232 case EStateConnecting: |
232 case EStateConnecting: |
233 { |
233 { |
234 TBool connected = STATIC_CAST( |
234 // get result of connect operation |
235 CIpsPlgImap4ConnectOp*, iOperation)->Connected(); |
235 TInt err = iStatus.Int(); |
236 if(!connected) |
236 |
|
237 if( err != KErrNone ) |
237 { |
238 { |
238 CompleteObserver( KErrCouldNotConnect ); |
239 CompleteObserver( err == KErrCancel ? err : KErrCouldNotConnect ); |
239 return; |
240 return; |
240 } |
241 } |
241 iRetryCount = 0; |
242 iRetryCount = 0; |
242 DoFetchAttachmentL(); |
243 DoFetchAttachmentL(); |
243 break; |
244 break; |