mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Merge pull request #406 from sehraf/pr-fixes-#2
fix build errors (return type is a pointer and not boolean)
This commit is contained in:
commit
b2497ccb2e
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