mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
remove unnecessary verbosity (nw)
This commit is contained in:
parent
8a494cbeac
commit
3ac9c56e65
@ -71,7 +71,7 @@ private:
|
|||||||
msg[ch] = '\0';
|
msg[ch] = '\0';
|
||||||
ch++;
|
ch++;
|
||||||
std::strncpy(verb, msg, sizeof(verb)-1);
|
std::strncpy(verb, msg, sizeof(verb)-1);
|
||||||
printf("verb = [%s], ", verb);
|
//printf("verb = [%s], ", verb);
|
||||||
|
|
||||||
while (msg[ch] != ' ')
|
while (msg[ch] != ' ')
|
||||||
{
|
{
|
||||||
@ -80,7 +80,7 @@ private:
|
|||||||
|
|
||||||
ch++;
|
ch++;
|
||||||
value = atoi(&msg[ch]);
|
value = atoi(&msg[ch]);
|
||||||
printf("value = %d\n", value);
|
//printf("value = %d\n", value);
|
||||||
|
|
||||||
if (!std::strcmp(verb, "send_id"))
|
if (!std::strcmp(verb, "send_id"))
|
||||||
{
|
{
|
||||||
@ -122,7 +122,6 @@ private:
|
|||||||
void do_write(std::size_t length)
|
void do_write(std::size_t length)
|
||||||
{
|
{
|
||||||
auto self(shared_from_this());
|
auto self(shared_from_this());
|
||||||
printf("do_write: [%d: %s]\n", (int)length, m_data);
|
|
||||||
asio::async_write(m_socket, asio::buffer(m_data, length),
|
asio::async_write(m_socket, asio::buffer(m_data, length),
|
||||||
[this, self](std::error_code ec, std::size_t /*length*/)
|
[this, self](std::error_code ec, std::size_t /*length*/)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user