commit | 909ad359bf453ac6048c40d2161f3e20881c1602 | [log] [tgz] |
---|---|---|
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | Tue Dec 27 13:38:57 2016 -0800 |
committer | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Mon Jan 02 10:03:18 2017 +0100 |
tree | 6e99a63b38f69ec1f619f8d9976e36dfe6a5965c | |
parent | 8ab2a90231328a25829ea51acf9d7d5985ad7d7c [diff] |
lib/zoap: Fix incorrect values for payload size When retrieving the payload length of the payload, there was a mistake, what was already in the buffer (buf->len) was being considered twice, net_buf_tailroom() already takes buf->len into account, resulting in incorrect values. Change-Id: I3b78d55abca4a448cab5e035b9d66352a3c59110 Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>