diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-08-29 20:25:37 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-08-29 20:25:37 +0200 |
| commit | 4d1d94c56cf60e22e9199f8c37c5634752b570f5 (patch) | |
| tree | fff3e36bee446458372cbed586c8e65dd94b6c94 /src/bitcoinrpc.cpp | |
| parent | implement CreateThread with boost::thread (diff) | |
| download | discoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.tar.xz discoin-4d1d94c56cf60e22e9199f8c37c5634752b570f5.zip | |
Rename CreateThread to NewThread
Prevent clash with win32 API symbol
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -rw-r--r-- | src/bitcoinrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 2271ff07c..84a6d6f89 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -697,7 +697,7 @@ static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, } // start HTTP client thread - else if (!CreateThread(ThreadRPCServer3, conn)) { + else if (!NewThread(ThreadRPCServer3, conn)) { printf("Failed to create RPC server client thread\n"); delete conn; } |