Problem: integer literals assigned to bool variables

Solution: replace by bool literals
This commit is contained in:
Simon Giesecke
2018-05-25 23:03:52 +02:00
parent eacc805646
commit 21498700ef
4 changed files with 5 additions and 5 deletions

View File

@@ -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 ();
}