mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed a bunch of missing returns
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
615b1b5704
commit
17a562dc3e
@ -38,6 +38,7 @@
|
|||||||
/****
|
/****
|
||||||
* #define DEBUG_VORS 1
|
* #define DEBUG_VORS 1
|
||||||
****/
|
****/
|
||||||
|
#define DEBUG_VORS 1
|
||||||
|
|
||||||
|
|
||||||
/* DEFINE INTERFACE POINTER! */
|
/* DEFINE INTERFACE POINTER! */
|
||||||
@ -184,6 +185,7 @@ int p3VoRS::sendPackets()
|
|||||||
RsStackMutex stack(mVorsMtx); /****** LOCKED MUTEX *******/
|
RsStackMutex stack(mVorsMtx); /****** LOCKED MUTEX *******/
|
||||||
mSentPingTime = now;
|
mSentPingTime = now;
|
||||||
}
|
}
|
||||||
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -284,6 +286,7 @@ int p3VoRS::processIncoming()
|
|||||||
/* clean up */
|
/* clean up */
|
||||||
delete item;
|
delete item;
|
||||||
}
|
}
|
||||||
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
int p3VoRS::handlePing(RsItem *item)
|
int p3VoRS::handlePing(RsItem *item)
|
||||||
@ -316,6 +319,7 @@ int p3VoRS::handlePing(RsItem *item)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
sendItem(pong);
|
sendItem(pong);
|
||||||
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -354,6 +358,7 @@ int p3VoRS::handlePong(RsItem *item)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
storePongResult(pong->PeerId(), pong->mSeqNo, pingTS, rtt, offset);
|
storePongResult(pong->PeerId(), pong->mSeqNo, pingTS, rtt, offset);
|
||||||
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -427,6 +432,7 @@ uint32_t p3VoRS::getPongResults(std::string id, int n, std::list<RsVoipPongResul
|
|||||||
/* reversing order - so its easy to trim later */
|
/* reversing order - so its easy to trim later */
|
||||||
results.push_back(*it);
|
results.push_back(*it);
|
||||||
}
|
}
|
||||||
|
return i ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user