diff --git a/libretroshare/src/gxstunnel/rsgxstunnelitems.cc b/libretroshare/src/gxstunnel/rsgxstunnelitems.cc index 2557e0028..be0ff42c7 100644 --- a/libretroshare/src/gxstunnel/rsgxstunnelitems.cc +++ b/libretroshare/src/gxstunnel/rsgxstunnelitems.cc @@ -381,8 +381,8 @@ RsGxsTunnelDataItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelDataItem(void if(rssize > size) { - std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ; - return false ; + std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ; + return NULL ; } RsGxsTunnelDataItem *item = new RsGxsTunnelDataItem(); @@ -464,8 +464,8 @@ RsGxsTunnelStatusItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelStatusItem( if(rssize > size) { - std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ; - return false ; + std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ; + return NULL ; } RsGxsTunnelStatusItem *item = new RsGxsTunnelStatusItem();