mobilemessaging/smsmtm/servermtm/src/SMSSOUTB.CPP
changeset 49 2a272ef608c4
parent 23 238255e8b033
child 55 5b3b2fa8c3ec
--- a/mobilemessaging/smsmtm/servermtm/src/SMSSOUTB.CPP	Sun Jul 25 18:59:19 2010 +0530
+++ b/mobilemessaging/smsmtm/servermtm/src/SMSSOUTB.CPP	Tue Aug 03 21:34:40 2010 +0530
@@ -23,7 +23,6 @@
 #include <logsmspdudata.h>
 #include <smsulog.h>
 #include <logwraplimits.h>
-#include <exterror.h>
 
 #include "SMSSendSession.h"
 #include "SMSSPAN.H"
@@ -211,15 +210,8 @@
 			{
 			if (iCurrentMessage)
 				{
-				if( (iProgress.iError == KErrGsmSMSShortMessageTransferRejected) || (iProgress.iError == KErrGsmSMSInvalidMandatoryInformation) || (iProgress.iError == KErrGsmSMSUnidentifiedSubscriber) ||
-					(iProgress.iError == KErrGsmSMSUnknownSubscriber) || (iProgress.iError == KErrGsmSMSNetworkOutOfOrder) )
-				    {
-					DoComplete(iProgress.iError);
-				    }
-				else
-				    {
-					ReScheduleFailedMessageL();
-				    }	
+                SMSSLOG(FLogFormat(_L8("CSmsOutboxSend::DoRunL(), error for ReSchedule %d"), iProgress.iError));
+				ReScheduleFailedMessageL();
 				}
 			else
 				{
@@ -523,7 +515,7 @@
 		_LIT16(KComma, ",");
 		
 		RBuf16 buffer;
-		buffer.Create(size+num);
+		buffer.CreateL(size+num);
 		if(num > 0)
 			{
 			rcpt = numbers[0];