omads/omadsextensions/adapters/sms/src/vmessageparser.cpp
changeset 64 a62b67d1f67c
parent 40 b63e67867dcd
--- a/omads/omadsextensions/adapters/sms/src/vmessageparser.cpp	Tue Sep 28 18:46:16 2010 +0530
+++ b/omads/omadsextensions/adapters/sms/src/vmessageparser.cpp	Tue Oct 12 17:42:13 2010 +0530
@@ -326,7 +326,12 @@
 			{
 			if (recipient.iNumber.Length() > 0)
 			    {
-			    iRecipients.Append( recipient );
+			    err = iRecipients.Append( recipient );
+			    if (err)
+			        {
+			        LOGGER_WRITE_1( "iRecipients.Append err: %d", err );
+			        return err;
+			        }
 			    }
 			    
 			err = FindMessageTagWithValue( KVMsgTagBegin, KVMsgSectionVEnv );