projects
/
platform
/
core
/
appfw
/
component-based-application.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b3904c
)
Fix a wrong implementation of sync request handler
77/251177/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 11 Jan 2021 04:59:28 +0000
(13:59 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Mon, 11 Jan 2021 04:59:28 +0000
(13:59 +0900)
Change-Id: I7ddc2d8aab2358fc6dd3d75b42f9023182e6da6d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
component_based/port/port.cc
patch
|
blob
|
history
diff --git
a/component_based/port/port.cc
b/component_based/port/port.cc
index c395194f675bf0f4b130552d74f4486fc6af144c..9f7994af008aec24b37f1058f9e0dc8065eb47a6 100644
(file)
--- a/
component_based/port/port.cc
+++ b/
component_based/port/port.cc
@@
-128,6
+128,8
@@
void Port::Impl::OnSyncRequestReceived(const std::string& sender, pid_t pid,
auto res = std::shared_ptr<tizen_base::Parcel>(
new (std::nothrow) tizen_base::Parcel());
listener_->OnSyncRequest(sender_info, req, res);
+ std::copy(res->GetRaw().begin(), res->GetRaw().end(),
+ std::back_inserter(response));
}
void Port::Impl::OnRequestReceived(const std::string& sender, pid_t pid,