Typo fix related to a33d7eb 341/head
authorsvost <ya.nowa@yandex.ru>
Wed, 4 May 2016 05:35:59 +0000 (08:35 +0300)
committersvost <ya.nowa@yandex.ru>
Wed, 4 May 2016 05:35:59 +0000 (08:35 +0300)
src/net.cpp

index f711696..bf2f38b 100644 (file)
@@ -1791,7 +1791,7 @@ bool BindListenPort(const CService &addrBind, string& strError)
     {
         strError = strprintf("Error: Couldn't set properties on socket for incoming connections (error %d)", WSAGetLastError());
         printf("%s\n", strError.c_str());
-        CloseSocket(hSocket);
+        CloseSocket(hListenSocket);
         return false;
     }