equal
deleted
inserted
replaced
658 } |
658 } |
659 |
659 |
660 if ( (iState == EOpen) && iKeepAlive ) |
660 if ( (iState == EOpen) && iKeepAlive ) |
661 { |
661 { |
662 TConnectionInfo connectionInfo; |
662 TConnectionInfo connectionInfo; |
663 GetConnectionInfoL(connectionInfo); |
663 TRAPD(err, GetConnectionInfoL(connectionInfo) ); |
664 if ( connectionInfo.iIapId != iIapNumber && |
664 if ( err || ( connectionInfo.iIapId != iIapNumber && |
665 iIapNumber != 0 && connectionInfo.iIapId != 0 ) |
665 iIapNumber != 0 && connectionInfo.iIapId != 0 ) ) |
666 { |
666 { |
667 CleanupConnection(); |
667 CleanupConnection(); |
668 iState = EStart; |
668 iState = EStart; |
669 } |
669 } |
670 } |
670 } |