Code formatting + reverted hard error handshake fail

- Moved new events in draft section + added to zmq_draft.h
 - Removed the remainning tabs
 - Reverted the hard error (back to soft error) in curve_server.cpp

=> The feature doesn't works anymore
This commit is contained in:
Vincent Tellier
2016-12-30 18:26:56 +01:00
parent b6e9e0c2d3
commit 48bc75e8a1
6 changed files with 21 additions and 16 deletions

View File

@@ -790,8 +790,8 @@ int zmq::stream_engine_t::next_handshake_command (msg_t *msg_)
if (rc == 0)
msg_->set_flags (msg_t::command);
if(mechanism->status() == mechanism_t::error)
socket->event_handshake_failed(endpoint, 0);
if(mechanism->status() == mechanism_t::error)
socket->event_handshake_failed(endpoint, 0);
return rc;
}