mirror of
https://github.com/monero-project/monero.git
synced 2026-01-09 03:41:14 -08:00
Revert "Merge pull request #7136"
This reverts commit63c7ca07fb, reversing changes made to2218e23e84.
This commit is contained in:
@@ -68,13 +68,13 @@ namespace
|
||||
{
|
||||
}
|
||||
|
||||
virtual int invoke(int command, const epee::span<const uint8_t> in_buff, epee::byte_stream& buff_out, test_levin_connection_context& context)
|
||||
virtual int invoke(int command, const epee::span<const uint8_t> in_buff, epee::byte_slice& buff_out, test_levin_connection_context& context)
|
||||
{
|
||||
m_invoke_counter.inc();
|
||||
boost::unique_lock<boost::mutex> lock(m_mutex);
|
||||
m_last_command = command;
|
||||
m_last_in_buf = std::string((const char*)in_buff.data(), in_buff.size());
|
||||
buff_out.write(epee::to_span(m_invoke_out_buf));
|
||||
buff_out = m_invoke_out_buf.clone();
|
||||
return m_return_code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user