added return statements is functions that missed one

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2137 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-01-27 08:24:39 +00:00
parent e42bea40cf
commit b592bdac62
5 changed files with 8 additions and 2 deletions

View File

@ -311,6 +311,7 @@ bool ftServer::getQueuePriority(const std::string hash, int & priority)
}
bool ftServer::clearDownload(const std::string hash)
{
return true ;
}
void ftServer::clearQueue()

View File

@ -105,6 +105,8 @@ int pqiperson::receiveHeartbeat()
{
pqioutput(PQL_DEBUG_ALERT, pqipersonzone, "pqiperson::receiveHeartbeat() from peer : " + PeerId());
lastHeartbeatReceived = time(NULL);
return true ;
}
// tick......

View File

@ -486,7 +486,8 @@ int pqipersongrp::connectPeer(std::string id)
bool pqipersongrp::notifyConnect(std::string id, uint32_t ptype, bool success) {
struct sockaddr_in remote_peer_address;
sockaddr_clear(&remote_peer_address);
notifyConnect(id, ptype, success, remote_peer_address);
return notifyConnect(id, ptype, success, remote_peer_address);
}
bool pqipersongrp::notifyConnect(std::string id, uint32_t ptype, bool success, struct sockaddr_in remote_peer_address)

View File

@ -213,6 +213,8 @@ int UdpLayer::reset(struct sockaddr_in &local)
std::cerr << "UdpLayer::reset() opening socket" << std::endl;
openSocket();
return 1 ;
}

View File

@ -1739,7 +1739,7 @@ void CUPnPControlPoint::Subscribe(CUPnPService &service)
return;
error:
1+1;
;
#ifdef UPNP_DEBUG
std::cerr << std::endl;
#endif