Modify submit request in sms plugin.
authorKeeBum Kim <keebum.kim@samsung.com>
Tue, 4 Sep 2012 04:04:08 +0000 (13:04 +0900)
committerKeeBum Kim <keebum.kim@samsung.com>
Tue, 4 Sep 2012 04:04:08 +0000 (13:04 +0900)
plugin/sms_plugin/SmsPluginTransport.cpp

index 08acd20..fa56d19 100755 (executable)
@@ -207,7 +207,6 @@ void SmsPluginTransport::submitRequest(SMS_REQUEST_INFO_S *pReqInfo)
                        else
                        {
                                SmsPluginEventHandler::instance()->handleSentStatus(MSG_NETWORK_SEND_FAIL);
-
                                THROW(MsgException::SMS_PLG_ERROR, "########  TelTapiSmsSend Fail !!! req Id : [%d] return : [%d] #######", reqId, tapiRet);
                        }
 
@@ -219,6 +218,7 @@ void SmsPluginTransport::submitRequest(SMS_REQUEST_INFO_S *pReqInfo)
                        }
                        else
                        {
+                               SmsPluginEventHandler::instance()->handleSentStatus(MSG_NETWORK_SEND_FAIL);
                                THROW(MsgException::SMS_PLG_ERROR, "########  Msg Sent was Failed !!! req Id : [%d] return : [%d] #######", reqId, retStatus);
                        }