projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb479f8
)
[Bluetooth] Fix for test.
author
Tomasz Marciniak
<t.marciniak@samsung.com>
Wed, 27 May 2015 12:18:56 +0000
(14:18 +0200)
committer
Hyunjin Park
<hj.na.park@samsung.com>
Tue, 2 Jun 2015 06:01:09 +0000
(15:01 +0900)
[Verification] Code compiles without errors.
Manual test BluetoothSocket_readData passes.
Change-Id: Ia41d99f58475b75df01eb5c4219a8e506ce45d5d
Signed-off-by: Tomasz Marciniak <t.marciniak@samsung.com>
src/bluetooth/bluetooth_adapter.cc
patch
|
blob
|
history
diff --git
a/src/bluetooth/bluetooth_adapter.cc
b/src/bluetooth/bluetooth_adapter.cc
index
3b67914
..
104ff21
100755
(executable)
--- a/
src/bluetooth/bluetooth_adapter.cc
+++ b/
src/bluetooth/bluetooth_adapter.cc
@@
-1439,7
+1439,7
@@
void BluetoothAdapter::RemoveSocket(int socket) {
void BluetoothAdapter::StoreSocketData(bt_socket_received_data_s* data) {
LoggerD("Entered");
- auto data_store = socket_data_[data->socket_fd];
+ auto
&
data_store = socket_data_[data->socket_fd];
for (int i = 0; i < data->data_size; ++i) {
data_store.push_back(data->data[i]);