ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp
changeset 75 47d84de1c893
parent 30 759dc5235cdb
child 76 38bf5461e270
--- a/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp	Fri Sep 17 08:27:21 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp	Mon Oct 04 00:05:37 2010 +0300
@@ -361,12 +361,12 @@
         iMsvSession.GetEntry( childs->At(i), service, entry );
         TUint sendState = entry.SendingState();
         
-        if ( iSmtpService == entry.iServiceId &&
-            ( sendState != KMsvSendStateUnknown
-              || sendState != KMsvSendStateUponRequest
-              || sendState != KMsvSendStateSent ) )
+        if ( iSmtpService == entry.iServiceId 
+		     && sendState != KMsvSendStateUnknown
+	         && sendState != KMsvSendStateUponRequest
+              && sendState != KMsvSendStateSent ) 
             {
-            // chage suspended flag to waiting
+            // change suspended flag to waiting
             // is it safe to change flag from suspended to waiting?
             if ( sendState == KMsvSendStateSuspended )
                 {