Skip to content

Commit

Permalink
MessageDirector: Bugfix; don't let failure to connect upstream pass s…
Browse files Browse the repository at this point in the history
…ilently.
  • Loading branch information
CFSworks committed Nov 16, 2014
1 parent 12fc1ac commit a21e0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messagedirector/MessageDirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void MessageDirector::init_network()
MDNetworkUpstream *upstream = new MDNetworkUpstream(this);

boost::system::error_code ec;
upstream->connect(connect_addr.get_val());
ec = upstream->connect(connect_addr.get_val());
if(ec.value() != 0) {
m_log.fatal() << "Could not connect to remote MD at IP: "
<< connect_addr.get_val() << std::endl;
Expand Down

0 comments on commit a21e0ea

Please sign in to comment.