Commit a576af0a authored by Kishen Maloor's avatar Kishen Maloor

Stop block2 processing following error response

Signed-off-by: Kishen Maloor's avatarKishen Maloor <kishen.maloor@intel.com>
parent fa16da1e
Pipeline #992 passed with stage
in 11 minutes and 3 seconds
......@@ -675,7 +675,7 @@ coap_receive(oc_message_t *msg)
message->token, message->token_len);
}
}
if (response_buffer) {
if (!error_response && response_buffer) {
OC_DBG("got response buffer for uri %s",
oc_string(response_buffer->href));
client_cb = (oc_client_cb_t *)response_buffer->client_cb;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment