Commit 43f97119 authored by Pavel Vainerman's avatar Pavel Vainerman

fixed debug log in MBTCPServer

parent ef7fdabc
...@@ -87,7 +87,7 @@ void MBTCPServer::execute() ...@@ -87,7 +87,7 @@ void MBTCPServer::execute()
#endif #endif
if( verbose && res!=ModbusRTU::erNoError && res!=ModbusRTU::erTimeOut ) if( verbose && res!=ModbusRTU::erNoError && res!=ModbusRTU::erTimeOut )
cerr << "(wait): " << ModbusRTU::mbErr2Str(res) << endl; cerr << "(execute::receive): " << ModbusRTU::mbErr2Str(res) << endl;
} }
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment