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:
csoler 2011-08-03 19:57:23 +00:00
parent 615b1b5704
commit 17a562dc3e

View File

@ -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 ;
} }