diff options
| author | Philip Kaufmann <[email protected]> | 2014-07-17 22:33:58 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-07-17 22:49:23 +0200 |
| commit | c994d2e769239036626fe51c59daea4085fc3d54 (patch) | |
| tree | 8f4504a9bdaf39f9333cfe3f62e42b69a5b7b5b6 /src/httpserver.cpp | |
| parent | Merge pull request #4504 (diff) | |
| download | discoin-c994d2e769239036626fe51c59daea4085fc3d54.tar.xz discoin-c994d2e769239036626fe51c59daea4085fc3d54.zip | |
prevent SOCKET leak in BindListenPort()
- the call to CloseSocket() is placed after the WSAGetLastError(), because
a CloseSocket() can trigger an error also, which we don't want for the
logging in this two cases
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions