From 96d3720a8b42bdd4e2595b57a725930289dc791f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 5 Feb 2015 19:50:20 +0000 Subject: Various: -some warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_natdetect.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/MSN') diff --git a/protocols/MSN/src/msn_natdetect.cpp b/protocols/MSN/src/msn_natdetect.cpp index 60047bce40..c5e0d782db 100644 --- a/protocols/MSN/src/msn_natdetect.cpp +++ b/protocols/MSN/src/msn_natdetect.cpp @@ -109,6 +109,7 @@ void CMsnProto::MSNatDetect(void) SOCKET s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); if (connect(s, (SOCKADDR*)&addr, sizeof(addr)) == SOCKET_ERROR) { debugLogA("P2PNAT could not connect to echo server \"echo.edge.messenger.live.com\""); + closesocket(s); return; } -- cgit v1.2.3