mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
fix build errors (return typ is a pointer and not boolean)
This commit is contained in:
parent
53eb4dfb12
commit
0d106032de
1 changed files with 4 additions and 4 deletions
|
@ -382,7 +382,7 @@ RsGxsTunnelDataItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelDataItem(void
|
||||||
if(rssize > size)
|
if(rssize > size)
|
||||||
{
|
{
|
||||||
std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ;
|
std::cerr << "RsGxsTunnelDataItem::() Size error while deserializing." << std::endl ;
|
||||||
return false ;
|
return NULL ;
|
||||||
}
|
}
|
||||||
|
|
||||||
RsGxsTunnelDataItem *item = new RsGxsTunnelDataItem();
|
RsGxsTunnelDataItem *item = new RsGxsTunnelDataItem();
|
||||||
|
@ -465,7 +465,7 @@ RsGxsTunnelStatusItem *RsGxsTunnelSerialiser::deserialise_RsGxsTunnelStatusItem(
|
||||||
if(rssize > size)
|
if(rssize > size)
|
||||||
{
|
{
|
||||||
std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ;
|
std::cerr << "RsGxsTunnelStatusItem::() Size error while deserializing." << std::endl ;
|
||||||
return false ;
|
return NULL ;
|
||||||
}
|
}
|
||||||
|
|
||||||
RsGxsTunnelStatusItem *item = new RsGxsTunnelStatusItem();
|
RsGxsTunnelStatusItem *item = new RsGxsTunnelStatusItem();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue