ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp
changeset 68 83cc6bae1de8
parent 43 99bcbff212ad
child 76 38bf5461e270
--- a/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp	Fri Sep 03 17:52:02 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgsmtpoperation.cpp	Wed Sep 15 12:09:55 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 )
                 {