------------------------------------------------------------
revno: 2644
committer: cologic <n...@parsoma.net>
branch nick: dcplusplus
timestamp: Sat 2011-10-22 11:47:36 -0400
message:
  possible NAT-T fix, needs IPv4 vs IPv6 testing
modified:
  dcpp/Socket.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/Socket.cpp'
--- dcpp/Socket.cpp	2011-10-05 15:10:16 +0000
+++ dcpp/Socket.cpp	2011-10-22 15:47:36 +0000
@@ -758,7 +758,7 @@
 
 	addrinfo *result = 0;
 
-	auto err = ::getaddrinfo(name.empty() ? NULL : name.c_str(), port.empty() ? NULL : port.c_str(), &hints, &result);
+	auto err = ::getaddrinfo(name.c_str(), port.empty() ? NULL : port.c_str(), &hints, &result);
 	if(err) {
 		throw SocketException(err);
 	}

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : linuxdcpp-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to