Skip to content

Commit

Permalink
Fix zeromq#147 issuse (zeromq#150)
Browse files Browse the repository at this point in the history
* add more DRAFT API, fix the zeromq#147 issue
  • Loading branch information
bingoko authored and bluca committed Aug 31, 2017
1 parent e85a7b9 commit af523fa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -859,10 +859,16 @@ namespace zmq
on_event_disconnected(*event, address.c_str());
break;
#ifdef ZMQ_BUILD_DRAFT_API
case ZMQ_EVENT_HANDSHAKE_FAILED:
case ZMQ_EVENT_HANDSHAKE_FAILED_NO_DETAIL:
on_event_handshake_failed(*event, address.c_str());
break;
case ZMQ_EVENT_HANDSHAKE_SUCCEED:
case ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL:
on_event_handshake_failed(*event, address.c_str());
break;
case ZMQ_EVENT_HANDSHAKE_FAILED_AUTH:
on_event_handshake_failed(*event, address.c_str());
break;
case ZMQ_EVENT_HANDSHAKE_SUCCEEDED:
on_event_handshake_succeed(*event, address.c_str());
break;
#endif
Expand Down

0 comments on commit af523fa

Please sign in to comment.