mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-14 06:55:51 +02:00
Problem: integer literals assigned to bool variables
Solution: replace by bool literals
This commit is contained in:
@@ -441,9 +441,9 @@ void zmq::session_base_t::engine_error (
|
||||
case stream_engine_t::protocol_error:
|
||||
if (pending) {
|
||||
if (pipe)
|
||||
pipe->terminate (0);
|
||||
pipe->terminate (false);
|
||||
if (zap_pipe)
|
||||
zap_pipe->terminate (0);
|
||||
zap_pipe->terminate (false);
|
||||
} else {
|
||||
terminate ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user