Change-Id: I3daa11b329f2e38efba5a52c2106bddd3b759f86
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
value = adr->get_decoder()(&response, value);
}
value = adr->get_decoder()(&response, value);
}
- if((response.success && strnlen(adr->get_name().c_str(), adr->get_name().size())) > 0)
+ if((response.success && adr->get_name().size()) > 0)
{
// If name, include 'value' instead of payload, and leave of response
// details.
{
// If name, include 'value' instead of payload, and leave of response
// details.