summaryrefslogtreecommitdiff
path: root/protocols/MSN
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-02-05 19:50:20 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-02-05 19:50:20 +0000
commit96d3720a8b42bdd4e2595b57a725930289dc791f (patch)
tree6ce9a54ca612851fe772c54b7c82aadfc4d4fa11 /protocols/MSN
parent9266f20959d58859070111cafe2a054de906fbb0 (diff)
Various:
-some warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@12011 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_natdetect.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}