Commit e9c51741 authored by G S Senthil Kumar's avatar G S Senthil Kumar Committed by Madan Lanka

Resolved simulator crash issue.

Simulator plug-in crashed due to recent changes in the OCDeviceInfo
structure in platform layer. Handled the changes required in simulater

Change-Id: I8f4b31857b25628fa0ac888aeb42ee1e5d84885c
Signed-off-by: default avatarG S Senthil Kumar <>
Reviewed-on: default avatarRadha Bhavani <>
Tested-by: default avatarjenkins-iotivity <>
Reviewed-by: default avatarMadan Lanka <>
parent 841fb714
......@@ -178,7 +178,7 @@ void SimulatorManager::setDeviceInfo(const std::string &deviceName)
typedef OCStackResult (*RegisterDeviceInfo)(const OCDeviceInfo);
OCDeviceInfo ocDeviceInfo;
OCDeviceInfo ocDeviceInfo {nullptr, nullptr};
ocDeviceInfo.deviceName = const_cast<char *>(deviceName.c_str());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment