From f8985a050487ebfcb5a25673e1b1a83af2d2d81b Mon Sep 17 00:00:00 2001 From: svost Date: Wed, 4 May 2016 08:35:59 +0300 Subject: [PATCH] Typo fix related to a33d7eb --- src/net.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/net.cpp b/src/net.cpp index f711696..bf2f38b 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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; } -- 1.7.1