Commit 454dc5f9 authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusTCPSession): немного подправил лог

parent 32190c60
...@@ -152,7 +152,7 @@ void ModbusTCPSession::callback( ev::io& watcher, int revents ) ...@@ -152,7 +152,7 @@ void ModbusTCPSession::callback( ev::io& watcher, int revents )
void ModbusTCPSession::onTimeout( ev::timer& watcher, int revents ) void ModbusTCPSession::onTimeout( ev::timer& watcher, int revents )
{ {
if( dlog->is_info() ) if( dlog->is_info() )
dlog->info() << peername << ": timeout connection activity.." << endl; dlog->info() << peername << ": timeout connection activity..(terminate session)" << endl;
terminate(); terminate();
} }
......
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