email/pop3andsmtpmtm/popservermtm/src/POPS.CPP
changeset 25 84d9eb65b26f
parent 0 72b543305e3a
child 47 5b14749788d7
child 76 60a8a215b0ec
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
   206 	if(iState==EStopPop)
   206 	if(iState==EStopPop)
   207 		{
   207 		{
   208 		iSocket->Disconnect();
   208 		iSocket->Disconnect();
   209 		iSocketConnected=EFalse;
   209 		iSocketConnected=EFalse;
   210 		}
   210 		}
   211 	iSocket->Cancel();	// clear a pending socket call
   211 	
       
   212 	if(iState == EPopCapabilities || iState == EWaitingForReply)
       
   213 	    {
       
   214 	    if(iPopCapabilities)
       
   215 	        {
       
   216 	        iPopCapabilities->Cancel();
       
   217 	        }
       
   218 	    }
       
   219 	
       
   220 	iSocket->Cancel();  // clear a pending socket call
       
   221 
   212 	CMsgActive::DoCancel();
   222 	CMsgActive::DoCancel();
   213 	}
   223 	}
   214 
   224 
   215 //
   225 //
   216 // Result of last active call
   226 // Result of last active call