aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-12 17:51:25 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-12 17:51:25 +0200
commit41b28867957fd19ec873622525bb8b4f799e12ea (patch)
tree5a4c8bb440b1c5ab4b820749c0c4a6fd61530d68
parentMerge pull request #1327 (diff)
parentlevin: fix wrong value passed as return code to remote call (diff)
downloadmonero-41b28867957fd19ec873622525bb8b4f799e12ea.tar.xz
Merge pull request #1329
cd929b8 levin: fix wrong value passed as return code to remote call (moneromooo-monero)
-rw-r--r--contrib/epee/include/net/levin_protocol_handler_async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/levin_protocol_handler_async.h b/contrib/epee/include/net/levin_protocol_handler_async.h
index be231a7e1..67daceaf5 100644
--- a/contrib/epee/include/net/levin_protocol_handler_async.h
+++ b/contrib/epee/include/net/levin_protocol_handler_async.h
@@ -373,7 +373,7 @@ public:
invoke_response_handlers_guard.unlock();
if(timer_cancelled)
- response_handler->handle(m_current_head.m_command, buff_to_invoke, m_connection_context);
+ response_handler->handle(m_current_head.m_return_code, buff_to_invoke, m_connection_context);
}
else
{