mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05:00
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:
parent
e42bea40cf
commit
b592bdac62
@ -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()
|
||||
|
@ -105,6 +105,8 @@ int pqiperson::receiveHeartbeat()
|
||||
{
|
||||
pqioutput(PQL_DEBUG_ALERT, pqipersonzone, "pqiperson::receiveHeartbeat() from peer : " + PeerId());
|
||||
lastHeartbeatReceived = time(NULL);
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
// tick......
|
||||
|
@ -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)
|
||||
|
@ -213,6 +213,8 @@ int UdpLayer::reset(struct sockaddr_in &local)
|
||||
|
||||
std::cerr << "UdpLayer::reset() opening socket" << std::endl;
|
||||
openSocket();
|
||||
|
||||
return 1 ;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1739,7 +1739,7 @@ void CUPnPControlPoint::Subscribe(CUPnPService &service)
|
||||
return;
|
||||
|
||||
error:
|
||||
1+1;
|
||||
;
|
||||
#ifdef UPNP_DEBUG
|
||||
std::cerr << std::endl;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user