diff --git a/libretroshare/src/serialiser/rstlvidset.h b/libretroshare/src/serialiser/rstlvidset.h index e70b055cf..b1d0ee51f 100644 --- a/libretroshare/src/serialiser/rstlvidset.h +++ b/libretroshare/src/serialiser/rstlvidset.h @@ -95,6 +95,9 @@ template class t_RsTlvIdSet: public RsTlvItem } if(*offset != tlvend) std::cerr << "(EE) deserialisaiton error in " << __PRETTY_FUNCTION__ << std::endl; + else if(!ok) + std::cerr << "(WW) something wrong in ID_CLASS.deserialise in " << __PRETTY_FUNCTION__ << std::endl; + return *offset == tlvend ; } virtual std::ostream &print(std::ostream &out, uint16_t /* indent */) const