wmdrm/camese/wmdrmdladefaulthttpplugin/src/wmdrmdladefaulthttpmanager.cpp
changeset 29 3bdc3b853094
parent 1 c562c0bc23e5
child 41 29f3cf766061
equal deleted inserted replaced
23:493788a4a8a4 29:3bdc3b853094
   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         }