smsprotocols/smsstack/smsprot/Src/smsprov.cpp
changeset 20 244d7c5f118e
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
--- a/smsprotocols/smsstack/smsprot/Src/smsprov.cpp	Fri Mar 19 09:55:57 2010 +0200
+++ b/smsprotocols/smsstack/smsprot/Src/smsprov.cpp	Fri Apr 16 16:12:37 2010 +0300
@@ -395,16 +395,7 @@
                         }
                     __ASSERT_DEBUG(iLocalAddress.SmsAddrFamily()!=ESmsAddrSendOnly,SmspPanic(KSmspPanicWrongSmsAddressFamily));
                     __ASSERT_DEBUG(NumSegments(iSegmentIndex==NumSegments(iRecvBufSegArray->At(0)->Size())),SmspPanic(KSmspPanicBadClientIoctlCall));
-                    // TODO - flag
-                    // i)  delete entry from reassemblystore
-                    //     smsmsg = MyInternalize( iRecvBufSegArray );
-                    //     iReasStore->GetIndex( Index, smsmsg ); // iReasStore->DeleteSMS(smsmsg);
-                    //     iReasStore->DeleteEntry( Index );
-                    // ii) looking for more sms left in the store
-                    //     iPotocol.ProcessCompleteSMSMessage();
-                    //     @note if this is only called from here the msg stay for a long time
-                    //     in the reassembly store if the processmessage fails
-                    // i)
+                    // Delete entry from reassemblystore
                     CSmsMessage*smsmessage=NULL;
                     TRAPD(ret,(smsmessage=InternalizeMessageL(iRecvBufSegArray->At(0))));
                     if( ret==KErrNone )
@@ -417,9 +408,8 @@
                         LOGSMSPROT2("-> CSmsProvider::Ioctl - CSmsProvider::InternalizeMessageL [ret=%d]", ret);
                         }
                     delete smsmessage;
-                    // ii)
-                    // this is now down after finishing the readprocess
-                    // it has to be called here o in pdureadprocescompleted???
+                    // Looking for more sms left in the store
+                    // This is now done after finishing the readprocess
                     iProtocol.MessageReadedSuccessfully();
                     if( iEnumSocket )
                         {