git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9daffc6
)
Fix boost logic (taked from bitcoin 1ed6d49)
author
svost
<ya.nowa@yandex.ru>
Fri, 10 Feb 2017 06:23:34 +0000 (09:23 +0300)
committer
svost
<ya.nowa@yandex.ru>
Fri, 10 Feb 2017 06:23:34 +0000 (09:23 +0300)
src/bitcoinrpc.cpp
patch
|
blob
|
history
diff --git
a/src/bitcoinrpc.cpp
b/src/bitcoinrpc.cpp
index
4348d9a
..
d035d58
100644
(file)
--- a/
src/bitcoinrpc.cpp
+++ b/
src/bitcoinrpc.cpp
@@
-729,7
+729,7
@@
static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketA
boost::ref(context),
fUseSSL,
conn,
- boost::asio::placeholders::error));
+ _1));
}
/**
@@
-755,6
+755,8
@@
static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol,
if (error)
{
delete conn;
+ // TODO: Actually handle errors
+ printf("%s: Error: %s\n", __func__, error.message().c_str());
}
// Restrict callers by IP. It is important to