Change-Id: Ie068d445da64a247c1aadc45b33500a31c37c139
Signed-off-by: d.saraswat <d.saraswat@samsung.com>
bool AppControl::Reply(const std::map<std::string,
std::vector<std::string>>& data) {
bundle* result;
- if (appsvc_create_result_bundle(app_control_bundle_,
- &result) != APPSVC_RET_OK) {
+ int temp = appsvc_create_result_bundle(app_control_bundle_,&result);
+ if (temp != APPSVC_RET_OK) {
LOGGER(ERROR) << "Failed to craete result bundle.";
return false;
}