aboutsummaryrefslogtreecommitdiff
path: root/net.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-02-14 22:27:13 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-02-14 22:27:13 +0000
commit64a474a49b20a66453fbcd2382e4b042427b0a0f (patch)
tree6ed5d51b1473a79aa84e6a967a67f0091d1562d2 /net.cpp
parentc4319e678f693d5fbc49bd357ded1c8f951476e9 (diff)
renamed a few rpc methods
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@63 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/net.cpp b/net.cpp
index d669b8c5e5..061f000a73 100644
--- a/net.cpp
+++ b/net.cpp
@@ -655,11 +655,7 @@ void ThreadSocketHandler2(void* parg)
if (FD_ISSET(hListenSocket, &fdsetRecv))
{
struct sockaddr_in sockaddr;
-#ifdef __WXMSW__
- int len = sizeof(sockaddr);
-#else
socklen_t len = sizeof(sockaddr);
-#endif
SOCKET hSocket = accept(hListenSocket, (struct sockaddr*)&sockaddr, &len);
CAddress addr(sockaddr);
if (hSocket == INVALID_SOCKET)