Skip to content

Commit

Permalink
Merge pull request #486 from miniway/master
Browse files Browse the repository at this point in the history
return EHOSTUNREACH at full only when mandatory is set
  • Loading branch information
hintjens committed Dec 9, 2012
2 parents 8da6b7a + 394d755 commit 2a7b219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ int zmq::router_t::xsend (msg_t *msg_)
if (!current_out->check_write ()) {
it->second.active = false;
current_out = NULL;
unreach = true;
unreach = mandatory ? true: false;
}
}
else
Expand Down

0 comments on commit 2a7b219

Please sign in to comment.