diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-08-15 14:10:07 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-08-15 14:10:07 +0200 |
commit | b7c349d5e7c207bb7a2e7469c3e5522c9909c17f (patch) | |
tree | 72334fef6ee1ea35717aa8295589b0a01691dba9 /src/net.cpp | |
parent | 1030fa718c59c29d3208af13e853457b7ac59d2e (diff) |
Do not shadow variables in networking code
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index a0773b2e07..8fbd8fd192 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -66,7 +66,7 @@ namespace { SOCKET socket; bool whitelisted; - ListenSocket(SOCKET socket, bool whitelisted) : socket(socket), whitelisted(whitelisted) {} + ListenSocket(SOCKET _socket, bool _whitelisted) : socket(_socket), whitelisted(_whitelisted) {} }; } |