aboutsummaryrefslogtreecommitdiffstats
path: root/Input
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-06-12 18:02:19 +0200
committerAngelo Mantellini <manangel@cisco.com>2019-06-18 14:50:29 +0200
commit6fe18f6a466dbae611bbe1e4fa33b352cc4ef6df (patch)
tree4521d14f28894256891c878b08b5410e02d43125 /Input
parent2a876fc0d7986dc1ecb169bdc41972fe0f33d0dd (diff)
Correct android issues for libdash and viper
Change-Id: Ia5b95bda6336b6544c881c416f852069662f5e3f Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'Input')
-rw-r--r--Input/ICNConnectionConsumerApi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Input/ICNConnectionConsumerApi.cpp b/Input/ICNConnectionConsumerApi.cpp
index c93e9ed4..59330852 100644
--- a/Input/ICNConnectionConsumerApi.cpp
+++ b/Input/ICNConnectionConsumerApi.cpp
@@ -160,8 +160,8 @@ int ICNConnectionConsumerApi::Read(uint8_t *data, size_t len)
} else
{
memcpy(data, (char*)response.getPayload().data() + this->dataPos, response.getPayload().size() - this->dataPos);
- int length = response.getPayload().size() - this->dataPos;
- if (length == 0)
+ int length = response.getPayload().size() - this->dataPos;
+ if (length == 0)
{
this->res = false;
}