mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed missign initialisation of err in pqissludp.cc
This commit is contained in:
parent
d1bc89232c
commit
aabfcb975c
@ -152,7 +152,7 @@ int pqissludp::attach()
|
||||
// The Address determination is done centrally
|
||||
int pqissludp::Initiate_Connection()
|
||||
{
|
||||
int err;
|
||||
int err=0;
|
||||
|
||||
attach(); /* open socket */
|
||||
//remote_addr.sin_family = AF_INET;
|
||||
@ -280,7 +280,7 @@ int pqissludp::Initiate_Connection()
|
||||
proxyaddr.sin_port = pap->sin_port;
|
||||
remoteaddr.sin_port = rap->sin_port;
|
||||
|
||||
tou_connect_via_relay(sockfd, &srcaddr, &proxyaddr, &remoteaddr);
|
||||
err = tou_connect_via_relay(sockfd, &srcaddr, &proxyaddr, &remoteaddr);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user