Revert "ASAN issue fix" 50/253550/1
authorAbhimanyu Swami <abhimanyu1.s@samsung.com>
Mon, 15 Feb 2021 08:37:19 +0000 (08:37 +0000)
committerAbhimanyu Swami <abhimanyu1.s@samsung.com>
Mon, 15 Feb 2021 08:37:19 +0000 (08:37 +0000)
This reverts commit 13fa9892c87b68c6a696ab28615aacd6edfe72f9.
Problem with TC. Will resubmit after resolving.

Change-Id: Ica1e8572c6f08950ed573c3e2ce191ee7334433d

plugin/sms_plugin/3gpp/Sms3gppTransport.cpp

index 3a43cfc..008a157 100755 (executable)
@@ -126,7 +126,7 @@ msg_error_t Sms3gppSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo)
        char keyName[MAX_VCONFKEY_NAME_LEN] = {0,};
        snprintf(keyName, sizeof(keyName), "%s/%d", MSG_SIM_CHANGED, pReqInfo->msgInfo.sim_idx);
 
-       int simStatus = 0;
+       MSG_SIM_STATUS_T simStatus = 0;
        if (MsgSettingGetInt(keyName, (int*)&simStatus) != MSG_SUCCESS) {
                MSG_INFO("MsgSettingGetInt() failed!");
        }