Skip to content
Commit 43ae27fd authored by Vinicius Costa Gomes's avatar Vinicius Costa Gomes Committed by Jukka Rissanen
Browse files

samples/coaps_server: Don't error if the packet doesn't have payload



GET and DEL requests may not have payloads, so it's not correct to
return with an error in those cases.

This was only noticed now that zoap_packet_get_payload() returns the
correct value for all situations.

Jira: ZEP-1754

Change-Id: Ie533041aa7a66855582ff4c5c937d943304bad84
Signed-off-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
parent bf5263a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment