summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamaljeet chauhan <kamal.jc@samsung.com>2020-03-02 18:22:42 +0530
committerkamaljeet chauhan <kamal.jc@samsung.com>2020-03-02 18:22:42 +0530
commitb7edad1d52ca646f3f9c92f741f65d70342e4501 (patch)
tree8df6e0ac68a5fcc41a42137b4a8def1508d5258d
parentebd897a9d1cb9584b373318dfdf616c72032b2c7 (diff)
downloadmsg-service-b7edad1d52ca646f3f9c92f741f65d70342e4501.tar.gz
msg-service-b7edad1d52ca646f3f9c92f741f65d70342e4501.tar.bz2
msg-service-b7edad1d52ca646f3f9c92f741f65d70342e4501.zip
Change-Id: I6080fe04e465c62ae0fd96dfceb443a62470db84 Signed-off-by: kamaljeet chauhan <kamal.jc@samsung.com>
-rwxr-xr-xplugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp
index ecec003..f8a3e13 100755
--- a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp
+++ b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp
@@ -3140,7 +3140,7 @@ void Sms3gpp2WapPushHandler::wspHeaderDecodeDateValue(unsigned long length, unsi
lTime = wspHeaderDecodeIntegerByLength(data, length);
- pTMData = (struct tm*)gmtime((const time_t*)&lTime);
+ (struct tm*)gmtime_r((const time_t*)&lTime, pTMData);
if (pTMData == NULL) {
MSG_DEBUG("WspLHeaderDecodeDateValue: Date decode fail \n");